Agent skill

playwright

Playwright E2E testing patterns and best practices. Cross-browser automation, selectors, fixtures, and CI integration. Trigger: When writing or running end-to-end tests with Playwright.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/playwright-joabgonzalez-ai-agents-framework

SKILL.md

Playwright Skill

When to Use

  • End-to-end browser testing
  • Cross-browser automation
  • CI/CD integration

Critical Patterns

  • Use fixtures for setup
  • Prefer role-based selectors
  • Parallelize tests for speed

Decision Tree

  • UI or API E2E? → Use browser/page or request
  • Need screenshots? → Use page.screenshot
  • CI integration? → Use playwright/test

Edge Cases

  • Flaky network tests
  • Browser compatibility
  • Headless vs headed mode

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results