Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Playwright Testing Skill

50+ production-tested Playwright guides for writing, debugging and scaling E2E, API, visual and accessibility tests.

Dev & CodingIntermediate34856AI 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(), never page.waitForTimeout(), baseURL in config, retries=2 in CI, traces on-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.zip analysis 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

  1. "Write a login-to-dashboard E2E test" → generates role-based locators plus storageState auth reuse.
  2. "This spec fails intermittently only in CI" → replaces hard waits with auto-retrying assertions and configures traces per the flaky-tests guide.
  3. "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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal.
  2. Create the skills folder if needed: mkdir -p ~/.claude/skills
  3. Clone the repository: git clone https://github.com/testdino-hq/playwright-skill.git ~/.claude/skills/playwright-skill
  4. Verify SKILL.md plus the core/, ci/, pom/ and migration/ subfolders were copied — the linked guides live there.
  5. Restart Claude Code and try a prompt like "Write a Playwright test for the checkout flow".
  6. To actually run tests, install Playwright in your project: npm init playwright@latest