# Playwright Pom

Page Object Model patterns for Playwright, when to use POM, how to structure page...

- Repository: https://github.com/zebbern/claude-code-guide (4691 stars)
- Category: Testing
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add zebbern/claude-code-guide --skill playwright-pom -g -a claude-code -y`
Codex: `npx skills add zebbern/claude-code-guide --skill playwright-pom -g -a codex -y`
Cursor: `npx skills add zebbern/claude-code-guide --skill playwright-pom -g -a cursor -y`
Gemini CLI: `npx skills add zebbern/claude-code-guide --skill playwright-pom -g -a gemini-cli -y`

## 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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

| Topic                      | Guide                                                          |
| -------------------------- | -------------------------------------------------------------- |
| Page Object Model patterns | [page-object-model.md](page-object-model.md)                   |
| POM vs fixtures vs helpers | [pom-vs-fixtures-vs-helpers.md](pom-vs-fixtures-vs-helpers.md) |

