Sep 3, 2019 in Selenium
Q: webdriver selenium

1 Answer

0 votes
Sep 10, 2019
Page Object Model (POM) & Page Factory: Selenium WebDriver Tutorial

What is Page Object Model?

Page Object Model is a design pattern to create Object Repository for web UI elements. Under this model, for each web page in the application, there should be corresponding page class. This Page class will find the WebElements of that web page and also contains Page methods which perform operations on those WebElements.

Name of these methods should be given as per the task they are performing, i.e., if a loader is waiting for the payment gateway to appear, POM method name can be waitForPaymentScreenDisplay().
Click here to read more about Selenium
Click here to read more about Insurance

Related questions

0 votes
Aug 22, 2019 in Selenium