playwright-ai-e2e
Installation
SKILL.md
Playwright AI E2E Testing — 2026 Standards
Mandatory Pre-Flight Context Inspection
Before writing end-to-end web tests:
- ARIA Role Locators → Use accessibility roles (
getByRole,getByText) over brittle CSS selectors - Auto-Waiting & Zero Sleep → Avoid
page.waitForTimeout(); rely on Playwright built-in auto-waiting - Network Interception → Mock external third-party APIs using
page.route()for deterministic CI runs
Activation Boundaries
- Activate when: Operating in tasks requiring Modern Playwright 1.45+ E2E web testing, resilient ARIA locators, visual regression testing, network mocking, and AI-assisted flakiness detection..
- DO NOT activate when: The task falls strictly outside playwright-ai-e2e domain or belongs to a different dedicated specialist.