What is?
Last updated
Was this helpful?
Last updated
Was this helpful?
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 payment gateway to be appear, POM method name can be waitForPaymentScreenDisplay().
HOW TO USE
Use POM for exposing elements from a page
Use POM for exposing an operation on a page