mcpservers.md

Testing web apps automatically with Playwright MCP

Describe a user flow in English. Playwright MCP runs it as a real browser test, no test code required.

⏱ 15 minutes 📊 beginner 🧰 1 server

// The flow

4 steps · 1 outcome
  1. 01 / 04 Install Playwright MCP
  2. 02 / 04 Describe the test scenario
  3. 03 / 04 Watch it run
  4. 04 / 04 Screenshot proof
  5. DONE Automated browser testing without writing a single line of test code — best for one-off flow checks and regression sanity passes

// What you need

1 server

// Do this, in order

paste · run · approve
  1. STEP 01 Install Playwright MCP

    Add Playwright MCP to Claude Desktop — browsers are set up automatically.

    EXPECT

    Claude confirms Playwright is installed and a Chromium binary is available.

  2. STEP 02 Describe the test scenario

    Test our signup flow: go to https://myapp.com/register, fill in the form with test@example.com, click submit, and verify we see a confirmation message.

    EXPECT

    Claude narrates each action as it runs and reports pass/fail at each step.

  3. STEP 03 Watch it run

    If anything fails, dump the DOM around the failure and the network request that broke.

    EXPECT

    DOM snippet + the failing request/response. Claude proposes a likely cause.

  4. STEP 04 Screenshot proof

    Take screenshots of each step and create a test report.

    EXPECT

    A folder of PNGs and a Markdown report you can paste into a PR description or QA log.

// You're done when

Automated browser testing without writing a single line of test code — best for one-off flow checks and regression sanity passes.

Read the full story (why this works, going further)

Why this workflow exists

Most regressions are caught manually because writing a real test costs more than the bug itself. Playwright MCP makes the cost negligible: describe the flow once, run it whenever you want, save the result if you want to keep it.

This isn’t a replacement for a real test suite. It’s a replacement for “let me click around real quick to make sure that still works.”