AgentSkillsCN

playwright-pom

Playwright 的页面对象模型模式——何时应使用 POM,如何构建页面对象,以及在何种情况下更适合使用 Fixture 或 Helper。

SKILL.md
--- frontmatter
name: playwright-pom
description: Page Object Model patterns for Playwright — when to use POM, how to structure page objects, and when fixtures or helpers are a better fit.

Playwright Page Object Model

Structure your test code for maintainability — know when POM helps and when simpler patterns win.

2 guides covering Page Object Model implementation and the decision framework for choosing between POM, fixtures, and helpers.

Guide Index

TopicGuide
Page Object Model patternspage-object-model.md
POM vs fixtures vs helperspom-vs-fixtures-vs-helpers.md