Pom

Page Object Model architecture for Playwright + TypeScript — base class hierarchy (BasePage, BaseGridPage, BaseEditPage), decision tree for which base to extend, gridPrefix constructor pattern, POM authoring rules (plural for grids, singular for edits, file naming, no redundant base methods). Use when creating a new page object, deciding which base class to extend, adding methods to a page object, choosing between adding to base vs subclass, or reviewing POM structure.

antongulin Updated 3 repo stars

File contents

antongulin/pw-kit commit 958e0275e7

Frequently asked questions

npx get-skill add antongulin/pom