swtestacademy / PageFactory

PageFactory in Selenium Webdriver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Page Factory and Page Generator in Page Object Model

About

  • 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/

Table of contents

Build

mvn clean install

Resources (Documentation and other links)

Contributing / Reporting issues

License

MIT

About

PageFactory in Selenium Webdriver


Languages

Language:Java 100.0%