Skip to main content
AgentsUse

Browser QA and regression checking

Browser QA Stack

Reference workflow for browser regression work: Playwright runs deterministic checks, the Playwright MCP server supports agent-led failure investigation with artifacts.

3 verified components2 human checkpointsChecked 2026-10-07

The job

  • Re-run critical browser flows after changes and surface regressions
  • Investigate failures from traces and screenshots, with a written report for human confirmation

Expected output: Repeatable pass/fail results with traces and screenshots, plus a failure report that a reviewer can verify in minutes.

Components, and why each one is here

PlaywrightScripted cross-browser checks, screenshots, and traces.

A browser automation framework that drives Chromium, Firefox, and WebKit with a single API for tests, scripts, and AI agents.

Why this component: Deterministic scripts form the lowest-cost regression net. The same project provides the agent access layer.

Playwright MCP ServerAgent access to a live browser through accessibility snapshots.

Microsoft MCP server that automates a real browser through Playwright from accessibility snapshots, without a vision model.

Why this component: Shares the Playwright project model with the test library. Investigation and test code use the same locators and concepts.

mcp-server-gitRecent history and diffs for the repo under test.

Python MCP server that exposes a fixed set of Git operations on a local repository.

Why this component: Ties a failure to a specific change. Without history, the report is speculation.

Sequence

  1. Express revenue-critical flows as independent Playwright tests using role and label locators.

  2. Run the suite on every material change. Persist traces and screenshots on failure.

  3. Open the failing page through Playwright MCP and record a specific claim about the breakage.

  4. Read recent commits through the Git MCP server and correlate the failure with a change, or state that no correlation was found.

  5. Confirm bug versus test rot before filing. Route the finding accordingly.

Prerequisites

  • Node.js for Playwright and the MCP server
  • The app running locally or on staging
  • An MCP-capable coding agent for investigation

Credentials

  • A test account for flows behind a login, stored outside the repo

Human checkpoints

Human checkpoints
  • Before an agent-filed issue reaches the team. Stale selectors and application bugs produce identical failure signatures at first glance.
  • When product behavior changes by design. Record the change and update the test. Do not let retries mask an intended change.

When it breaks

Selector rot after a redesign

Prefer role and label locators. Have the agent propose locator updates for human approval.

Flaky timing failures

Read the Playwright trace first. Auto-waiting covers most cases. The remainder usually indicates a race condition worth isolating.

Agent cannot reproduce the failure

Mark the result unconfirmed. Retain artifacts, rerun the script, and escalate with evidence attached.

Swapping components

Puppeteer with the Chrome DevTools MCP server provides a Chrome-first variant with the same workflow shape.

Cost shape and freshness

Playwright and both MCP servers are free and open source. Costs are CI minutes and model tokens spent during failure investigation.

Every component links to its published profile, checked 2026-10-07. A stack is a reference workflow, not a benchmark result. Run it on a small job first and keep the checkpoints in place. Send corrections through the contact page. Back to the stack index.