presets.dev
BrowseMembersSign In
presets.devAboutPrivacyTerms

Open source on GitHub

Filters

Tool

Claude
Cursor
Cline
Codex
Copilot
Windsurf
Antigravity CLI

Technology

Playwright1

Playwright Rules for Cursor

1 rule for Playwright

Playwright Rules for Cursor: Locators, Fixtures and Assertions

Cursor rules for Playwright: Locators, Fixtures and Assertions. Structure, data, errors, security, performance, and tests. Playwright 1.65.0, Nov 2026.

# Playwright Rules for Cursor: Locators, Fixtures and Assertions ## Install Install the native export at `.cursor/rules/playwright-rules.mdc`. 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 Rules for Cursor: Locators, Fixtures and Assertions File-scoped Cursor rule for Playwright. It attaches when a matching file is in context. ## 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 config already scans. Name the fi...