Testing Automation Mcp
Autonomous E2E testing using Playwright Model Context Protocol (MCP).
by dokhacgiakhoa · MIT
The skill
Autonomous E2E testing using Playwright Model Context Protocol (MCP).
🧪 Testing Automation MCP
This skill empowers AI Agents to autonomously write, execute, and debug E2E tests using the official Playwright MCP Server. It transforms passive testing into an active, agentic workflow.
🚀 Capabilities
- Browser Control: Navigate URLs, click elements, fill forms, and handle dialogs via MCP.
- Visual Verification: Capture screenshots and trace files for debugging.
- Self-Healing: Analyze failure logs and rewrite selector logic automatically.
- Cross-Browser: Execute tests on Chromium, Firefox, and WebKit.
🛠️ MCP Toolset (Playwright)
| Tool | Description | Usage |
|---|---|---|
playwright_navigate |
Go to a specific URL. | {"url": "http://localhost:3000"} |
playwright_click |
Click an element by selector. | {"selector": "button[type='submit']"} |
playwright_fill |
Fill input fields. | {"selector": "#email", "value": "test@example.com"} |
playwright_screenshot |
Take a screenshot of the viewport. | {"path": "debug/error.png"} |
playwright_evaluate |
Run custom JS in the browser. | {"script": "return document.title"} |
♟️ Strategic Patterns
🧠 Knowledge Modules (Fractal Skills)
1. 1. The "Observer" Pattern (Test Creation)
2. 2. The "Healer" Pattern (Test Recovery)
3. 3. The "Simulator" Pattern (User Journey)
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: dokhacgiakhoa/testing-automation-mcp-80455848070.
Details
- Publisher
- dokhacgiakhoa
- Category
- Software Development › Testing & QA
- License
- MIT
- Updated
- 2026-06-11
References
More from dokhacgiakhoa
- 3D Web Experience Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and i…
- Ab Test Setup Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execu…
- Accessibility Compliance Accessibility Audit You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive…
- Active Directory Attacks This skill should be used when the user asks to "attack Active Directory", "exploit AD", "Kerbero…