-
A Sample project using Page Factory, Page Generator, Chain of Invocations, and JAVA Generics techniques and patterns.
-
These techniques will reduce code repetition and duplicated code blocks.
-
In this way, we can easy to understand, easy to read, and easy to maintain our automation projects.
-
The PageFactory class helps us to write more clean and maintainable codes. First, we need to find web elements by using the below format (@FindBy annotation) in page classes.
-
PageFactory in Selenium Webdriver Article Link: https://www.swtestacademy.com/page-factory-selenium-webdriver/
mvn clean install