Playwright Testing Skill
50+ production-tested Playwright guides for writing, debugging and scaling E2E, API, visual and accessibility tests.
Dev & CodingIntermediate★ 348⑂ 56AI score 9/10Last updated: Jul 2, 2026
What it does
- Guides locator choice, web-first assertions, fixtures and page objects using battle-tested patterns.
- Enforces 10 golden rules: prefer
getByRole(), neverpage.waitForTimeout(),baseURLin config, retries=2 in CI, traceson-first-retry. - Covers network mocking, auth state reuse, visual regression, accessibility, component/API testing, WebSockets, iframes, Electron and extensions.
- Provides CI/CD recipes (GitHub Actions, GitLab, Jenkins, Azure), sharding, Docker, reporting and coverage setup.
- Includes Cypress/Selenium migration guides and agent-friendly
trace.zipanalysis via the Playwright CLI.
Who it's for
- QA engineers and developers adopting Playwright or fighting flaky suites.
- Frontend teams on Next.js, React, Vue/Nuxt or Angular adding a test layer.
- Teams migrating existing Cypress or Selenium suites.
- DevOps engineers tuning parallel test execution and reporting in CI.
Example uses
- "Write a login-to-dashboard E2E test" → generates role-based locators plus storageState auth reuse.
- "This spec fails intermittently only in CI" → replaces hard waits with auto-retrying assertions and configures traces per the flaky-tests guide.
- "Port 30 Cypress specs to Playwright" → applies the migration API mapping and restructures them around fixtures.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/testdino-hq/playwright-skill/HEAD/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the SKILL.m folder from the GitHub repo testdino-hq/playwright-skill into my ~/.claude/skills/testdino-hq-playwright-skill/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/testdino-hq/playwright-skill.git ~/.claude/skills/playwright-skill⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Create the skills folder if needed:
mkdir -p ~/.claude/skills - Clone the repository:
git clone https://github.com/testdino-hq/playwright-skill.git ~/.claude/skills/playwright-skill - Verify
SKILL.mdplus thecore/,ci/,pom/andmigration/subfolders were copied — the linked guides live there. - Restart Claude Code and try a prompt like "Write a Playwright test for the checkout flow".
- To actually run tests, install Playwright in your project:
npm init playwright@latest
View source on GitHub ↗License: MIT