Rayrun

Page Object Model

The Page Object Model (POM) is a design pattern for creating object-oriented test automation frameworks. It's a popular approach for organizing and maintaining automated tests, especially in web applications. The POM is based on the concept of "pages", which are objects representing different parts of the application's user interface. Each page contains methods for interacting with the elements on that page, such as clicking buttons or filling out forms. The POM also defines a set of "page objects", which are objects representing the different pages in the application. These page objects contain methods for navigating between pages and accessing the elements on those pages. The POM is often used in conjunction with other design patterns such as the Page Factory and the Page Object Factory.

Posts

  1. Mastering Playwright: Best Practices for Web Automation with the Page Object Model

    Learn the best practices for creating maintainable, reliable, and scalable test scripts using POM.

    Luc Gagan

Videos

Playwright Tutorial | Pass Test data as Fixtures
Playwright Tutorial | Pass Test data as Fixtures
Playwright Tutorial: Handling Multiple Tabs using Page Object Model
Playwright Tutorial: Handling Multiple Tabs using Page Object Model
Playwright - Turn Page Object Model Pages into fixtures
Playwright - Turn Page Object Model Pages into fixtures
How to handle multiple tabs in Page Object Model | Playwright Tutorial - Part 87
How to handle multiple tabs in Page Object Model | Playwright Tutorial - Part 87
Playwright Framework #3 | Multiple ENV with different locators | Playwright Tutorial - Part 82
Playwright Framework #3 | Multiple ENV with different locators | Playwright Tutorial - Part 82
POM Clean Code | Playwright Tutorial part 71
POM Clean Code | Playwright Tutorial part 71
Playwright Fixtures | POM | Playwright Tutorial - part 35
Playwright Fixtures | POM | Playwright Tutorial - part 35
Playwright Test Runner | Playwright - Part 22
Playwright Test Runner | Playwright - Part 22

Questions

Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].