mcp-playwright

Execute Playwright tests and capture screenshots, console logs, and network traces for UI verification.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/janjaszczak/cursor --skill mcp-playwright-janjaszczak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-playwright
Source: https://github.com/janjaszczak/cursor/tree/main/skills/mcp-playwright
Command: npx skills add https://github.com/janjaszczak/cursor --skill mcp-playwright-janjaszczak

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates browser-based verification by executing Playwright tests and capturing evidence for UI verification, regression checks, and reproducibility steps.

Core Features & Use Cases

  • Automated Playwright-based UI tests across multiple browsers and environments.
  • Evidence capture including screenshots, console output, and network traces for debugging.
  • Use case: quickly reproduce a failing UI scenario by running a predefined Playwright flow and saving artifacts for reporting.

Quick Start

Run an end-to-end Playwright test against the target web application and capture evidence.

Frequently Asked Questions about mcp-playwright

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Playwright tests and capture screenshots for UI regression?

Automate Playwright tests by executing predefined browser flows to capture screenshots, console logs, and network traces as evidence for UI regression checks and end-to-end smoke tests.

What is the best way to capture console logs and network traces during end-to-end smoke tests?

Capture console logs and network traces by running automated browser-based verification flows that collect debugging artifacts alongside screenshots during end-to-end smoke test execution.

Does this approach work for UI testing across Windows, Linux, and CI environments?

UI testing works across Windows, Linux, and CI environments, requiring a reachable target environment with Playwright installed to execute browser flows and output verification evidence.

Can I use Playwright MCP to reproduce failing UI scenarios and save artifacts for reporting?

Use Playwright MCP to reproduce failing UI scenarios by running predefined Playwright flows and saving screenshots, console output, and network traces as reporting artifacts.

How do I collect evidence for UI verification using automated browser flows?

Collect evidence for UI verification by executing automated browser flows that output screenshots, console logs, and network traces, ensuring reproducibility across different operating systems.

What are the limitations of using Playwright for automated browser-based verification?

Playwright automated browser-based verification requires a reachable target environment with Playwright installed, limiting execution to systems supporting the Playwright framework and its dependencies.