Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (47.6k points)

What is the page object in Selenium?

1 Answer

0 votes
by (106k points)

In Selenium, Page object is a design pattern which has become popular in test automation for enhancing test maintenance and reducing code duplication. A page object is an object oriented class that serves as an interface to a page of your AUT. The tests then use the methods of this page object class whenever they need to interact with the UI of that page. The benefit is that if the UI changes for the page, the tests themselves don't need to change, only the code within the page object needs to change. You must take up the following Selenium Training Course to learn it with a valuable certification. You should also read the following Selenium Tutorial to learn it in a better way.

For further information regarding the Design of page object in selenium, refer to this video:

.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...