Course Content
Testing Tools
Testing Tools
0/1
Sample Python Programs
Sample Python Programs
0/1
Selenium Python First Script
Selenium Python First Script
0/2
HTML Form elements
HTML Form elements
0/1
Handle HTML Frames
Handle HTML Frames
0/2
Handling Dropdown Lists
Handling Dropdown Lists
0/2
Selenium Action class
Selenium Action class
0/1
Python Database Programming
Python Database Programming
0/1
Selenium Python for Beginners [ 2024 ]
About Lesson

Page Object Model

Page Object Model ( POM ) is a design pattern that can be implemented to make test scripts robust and clean. 

In this pattern, we create object-oriented classes that serve as an interface to a web application’s web pages. A class represents each web page, and the various elements on the web page are defined as variables in that class. Actions that can be performed on the web page are defined as methods. The objects of these classes are called Page Objects.

This approach helps to separate the business logic from the UI and keep the test code clean and maintainable.