Selenium Frameworks | POM | PART - 2 | Page Factory | Page Object Model | Sample Implementation

Опубликовано: 22 Октябрь 2024
на канале: Learn Automation Online
45,888
662

In the previous video, we understood the concept of Page Object Model and its significance. In this video, we will implement the page object model with the help of Page Factory. "Factory" is one of the design patterns of Java. Selenium has used one of the famous design patterns called Factory design pattern and that is called Page Factory. Page Factory is the best and most suited approach for implementing the Page Object Model.

What will we learn in this video:
1. What is Page Factory?
2. @FindBy annotation
3. Init elements function of Page Factory.

#Selenium #PageFactory #PageObjectModel #Java #LearnAutomationOnline

Best way to reach me (replies will be faster): YouTube comment section
Also, you can follow me on Facebook and Instagram.
Facebook: https://bit.ly/2TqPlis
Instagram: https://bit.ly/2Ez36rH