
Page Object Model
The Page Object Model (POM) is a design pattern used in software testing that helps organize how automated tests interact with web pages. It creates a separate "object" or module for each page of a website, encapsulating the page’s elements (like buttons or fields) and actions (like clicking or entering text). This way, tests become more maintainable and clearer because changes to the website need only be updated in one place. Essentially, POM makes automated testing more efficient and reliable by modeling web pages as reusable objects in code.