Рет қаралды 45,673
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): KZbin comment section
Also, you can follow me on Facebook and Instagram.
Facebook: bit.ly/2TqPlis
Instagram: bit.ly/2Ez36rH