Page Object Model
A design pattern that encapsulates each page's elements and actions in a class, keeping tests readable and maintainable.
What is Page Object Model?
What is Page Object Model?
The Page Object Model (POM) is a widely used pattern that wraps each page or component in a dedicated class exposing its elements and the actions you can perform on it. Tests then call these high-level methods instead of manipulating raw selectors, which centralizes locator definitions so a UI change requires an update in exactly one place rather than across dozens of tests. POM dramatically improves readability and reduces maintenance, and it pairs naturally with healing—resilient, centrally managed locators that also repair themselves keep large suites sustainable.