๐Ÿงพ POM or Nothing

The Page Object Model

Nil

automationpomplaywright

playwright

124 Words Reading Time: 33 Seconds

11-23-2024 22:28 +0000


The Page Object Model

The POM needs no presentation for those working in QAA. For those who are not familiar with it, it is a design pattern that allows you to separate the logic of the tests from the logic of the pages. This way, you can have a single source of truth for the elements of the page and the actions that can be performed on them.

Some worth mentioning articles about the POM are:

Page object models from the Playwright documentation And some cool alternatives out there: Application Actions: Use Them Instead of Page Objects

Well, I would say that you shall adhere to POM until you come up with a solution that is clearly better or more suitable for your project.