1 rule for Playwright
Claude Code rules for Playwright: Locators, Fixtures and Assertions. Structure, data, errors, security, performance, and tests. Playwright 1.65.0, Nov 2026.
# Playwright Claude Code Rules: Locators, Fixtures and Assertions
## Install
Install the native export at `.claude/rules/playwright-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Playwright Claude Code Rules: Locators, Fixtures and Assertions
Path-scoped Claude Code rule for Playwright. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Playwright 1.65.0, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
Tests live in the directory the con...