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.