Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By yusuftayman
Generate E2E test plans by exploring web apps with Playwright CLI, create tests using Page Object Model and visual regression tags, run browser automation for interactions like clicks and snapshots, and debug fix failing tests via inspection of stale locators timing issues and UI changes with specialized AI agents.
npx claudepluginhub yusuftayman/playwright-cli-agents --plugin playwright-cli-agentsUse this agent when you need to create automated browser tests using Playwright. Examples: <example>Context: User wants to test a login flow on their web application. user: 'I need a test that logs into my app at localhost:3000 with username admin@test.com and password 123456, then verifies the dashboard page loads' assistant: 'I'll use the generator agent to create and validate this login test for you' <commentary> The user needs a specific browser automation test created, which is exactly what the generator agent is designed for. </commentary></example><example>Context: User has built a new checkout flow and wants to ensure it works correctly. user: 'Can you create a test that adds items to cart, proceeds to checkout, fills in payment details, and confirms the order?' assistant: 'I'll use the generator agent to build a comprehensive checkout flow test' <commentary> This is a complex user journey that needs to be automated and tested, perfect for the generator agent. </commentary></example>
Use this agent when you need to debug and fix failing Playwright tests. Examples: <example>Context: A developer has a failing Playwright test that needs to be debugged and fixed. user: 'The login test is failing, can you fix it?' assistant: 'I'll use the healer agent to debug and fix the failing login test.' <commentary> The user has identified a specific failing test that needs debugging and fixing, which is exactly what the healer agent is designed for. </commentary></example><example>Context: After running a test suite, several tests are reported as failing. user: 'Test user-registration.spec.ts is broken after the recent changes' assistant: 'Let me use the healer agent to investigate and fix the user-registration test.' <commentary> A specific test file is failing and needs debugging, which requires the systematic approach of the e2e-healer agent. </commentary></example>
Use this agent when you need to create comprehensive test plan for a web application or website. Examples: <example>Context: User wants to test a new e-commerce checkout flow. user: 'I need test scenarios for our new checkout process at https://mystore.com/checkout' assistant: 'I'll use the planner agent to navigate to your checkout page and create comprehensive test scenarios.' <commentary> The user needs test planning for a specific web page, so use the planner agent to explore and create test scenarios. </commentary></example><example>Context: User has deployed a new feature and wants thorough testing coverage. user: 'Can you help me test our new user dashboard at https://app.example.com/dashboard?' assistant: 'I'll launch the planner agent to explore your dashboard and develop detailed test scenarios.' <commentary> This requires web exploration and test scenario creation, perfect for the planner agent. </commentary></example>
E2E test generation skill using Playwright CLI with Page Object Model pattern and visual regression testing via @visual tag.
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Uses power tools
Uses Bash, Write, or Edit tools
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Playwright E2E test debugging and interactive browser exploration. Runs tests with action capture (DOM snapshots, network, console, screenshots), diagnoses failures, and provides browser tools for navigating, clicking, and inspecting pages through ARIA snapshots.
Production-grade Playwright testing toolkit. Generate tests from specs, fix flaky failures, migrate from Cypress/Selenium, sync with TestRail, run on BrowserStack. 55+ ready-to-use templates, 3 specialized agents, smart reporting that plugs into your existing workflow.
Browser automation and E2E testing with Playwright. Auto-detects dev servers, writes clean test scripts. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use for cross-browser testing, visual regression, API testing, component testing in TypeScript/JavaScript and Python projects.
Claude Code 专用 UI 自动化代理治理框架:Playwright + pytest POM 技能、规则和自我进化机制
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Develop, test, build, and deploy Godot 4.x games with Claude Code. Includes GdUnit4 testing, web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.
A production-ready set of Claude Code agents and skills that automate Playwright E2E test generation, debugging, and planning using the Page Object Model pattern.
Drop these files into any project's .claude/ directory and get an AI-powered E2E testing workflow — from exploring a live URL to generating robust, maintainable test suites.
npm install -g @playwright/cli@latest
playwright-cli --help
Note that you might need to force it to reclaim the playwright-cli binary from our older MCP package.
npm install -g @playwright/cli@latest --force
> Use playwright skills to test https://demo.playwright.dev/todomvc/.
Take screenshots for all successful and failing scenarios.
Your agent will be running commands, but it does not mean you can't play with it manually:
playwright-cli open https://demo.playwright.dev/todomvc/ --headed
playwright-cli type "Buy groceries"
playwright-cli press Enter
playwright-cli type "Water flowers"
playwright-cli press Enter
playwright-cli check e21
playwright-cli check e35
playwright-cli screenshot
Point your agent at the CLI and let it cook. It'll read the skill off playwright-cli --help on its own:
Test the "add todo" flow on https://demo.playwright.dev/todomvc using playwright-cli.
Check playwright-cli --help for available commands.
Claude Code, GitHub Copilot and others will let you install the Playwright skills into the agentic loop.
Plugin (recommended)
/plugin marketplace add microsoft/playwright-cli
/plugin install playwright-cli
Manual
mkdir -p .claude/skills/playwright-cli
curl -o .claude/skills/playwright-cli/SKILL.md \
https://raw.githubusercontent.com/microsoft/playwright-cli/main/skills/playwright-cli/SKILL.md
.claude-plugin/
└── marketplace.json # Plugin marketplace catalog
plugins/
└── playwright-cli-agents/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── agents/ # Specialized subagents
│ ├── playwright-cli-planner.md # Explores pages → creates test plans
│ ├── playwright-cli-generator.md # Executes plans → writes test code
│ └── playwright-cli-healer.md # Debugs & fixes failing tests
└── skills/
├── playwright-cli/ # Browser automation via CLI
│ └── SKILL.md # playwright-cli command reference
└── e2e/ # Shared domain knowledge
├── SKILL.md # Core skill (auto-injected into agents)
├── examples/
│ ├── page-object-model.md # Page Object class templates
│ └── e2e-tests.md # Integration test patterns
└── references/
├── component-exploration.md # How to explore UIs via playwright-cli
└── api-mocking.md # Deterministic test data setup
| Agent | Purpose | Trigger Example |
|---|---|---|
| Planner | Navigates to a URL, explores interactive elements, and produces a structured test plan | "Create a test plan for our checkout flow at localhost:3000/checkout" |
| Generator | Takes a test plan (or creates one), drives the browser in real-time, and outputs Page Object + spec files | "Generate Playwright tests for the login page" |
| Healer | Runs failing tests, inspects the DOM, console, and network, then fixes broken locators/timing | "The dashboard test is failing after the redesign, fix it" |
You describe what to test
│
▼
┌─────────────┐
│ Planner │ Explores the page, identifies elements,
│ (green) │ writes a markdown test plan
└──────┬──────┘
│ test plan
▼
┌─────────────┐
│ Generator │ Drives browser via playwright-cli, records actions,
│ (blue) │ generates Page Object + spec files
└──────┬──────┘
│ test files
▼
┌─────────────┐
│ Healer │ Runs tests, catches failures,
│ (red) │ auto-fixes locators & timing
└─────────────┘
The e2e skill is shared domain knowledge that all three agents preload via the skills: [e2e, playwright-cli] frontmatter field. It defines:
@visual tagmockApi utilitywaitForTimeout, no full-page screenshots, no fixture files