Playwright

Installation
SKILL.md

Trigger

Use when writing Playwright tests, debugging failures, scraping with Playwright, or setting up CI/CD pipelines.

Selector Priority (Always)

  1. getByRole() — accessible, resilient
  2. getByTestId() — explicit, stable
  3. getByLabel(), getByPlaceholder() — form elements
  4. getByText() — visible content (exact match preferred)
  5. CSS/XPath — last resort, avoid nth-child and generated classes

Core Capabilities

Installs
1
First Seen
Jun 19, 2026