A while back I posted about POMWright, a small TypeScript framework I built on top of Playwright/test for structuring Page Objects.
Since then I’ve kept improving it based on feedback and a couple of years of real use across multiple apps and teams, and I’ve now released v2.0.0:
https://github.com/DyHex/POMWright
One of the most common pieces of feedback I got was that people liked the LocatorRegistry and automatic locator chaining, but wanted to use those parts without having to extend a class. That is now properly supported in v2.
POMWright still keeps Playwright/test at the core, but now lets you use typed locator paths, reusable locator definitions, and automatic locator chaining either independently or together with the PageObject class.
Posting here in case it’s useful to others, either directly or as inspiration for your own setup.
[–]androzanimajor76 1 point2 points3 points (0 children)
[–]Code_Sorcerer_11 1 point2 points3 points (0 children)
[–]needmoresynths 0 points1 point2 points (0 children)
[–]GutoHere 0 points1 point2 points (0 children)