How to Use Page Factory in Selenium Automation Framework

How to Use Page Factory in Selenium Automation Framework

Automation Step by Step via YouTube Direct link

00:00 We will learn:

1 of 7

1 of 7

00:00 We will learn:

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

How to Use Page Factory in Selenium Automation Framework

Automatically move to the next video in the Classroom when playback concludes

  1. 1 00:00 We will learn:
  2. 2 00:43 What is Page Factory
  3. 3 05:50 How to Use Page Factory for Better Page Object Model POM
  4. 4 05:54 Step 1 - Check Selenium dependency is added in pom.xml mvn clean install
  5. 5 06:36 Step 2 - Update LoginPage.java to add PageFactory implementation
  6. 6 16:40 Step 3 - LoginTest.java will now refer elements and actions from updated LoginPage.java
  7. 7 17:46 Step 4 - Run and Test

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.