Playwright
End-to-end testing framework for web apps, with built-in test agents.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Playwright drives Chromium, Firefox and WebKit for end-to-end tests in TypeScript, Python, Java and .NET, with auto-waiting, tracing and parallel runs. Recent versions add planner, generator and healer test agents set up with npx playwright init-agents.
Best for
Reliable end-to-end web tests, written by hand or with help from agents.
Skills it helps with
Learn Playwright by doing
- Exploratory testing with Playwright MCP
Give a coding agent a browser through Playwright MCP, run a time-boxed exploratory charter, record findings, and turn the confirmed ones into Playwright specs.
- Playwright test agents: planner, generator and healer
How Playwright's planner, generator and healer test agents work, how to set them up with Claude Code or VS Code, and how to review the tests they write for you.
- Generate Playwright tests with AI agents, then review them
Approve a test plan before any code exists, generate tests from it and review them like production code.
- Turn a Figma design into code with an agent
Connect the Figma MCP server, map the design's variables to your tokens first, build one frame, then run a visual diff and an axe check.
- Run an accessibility audit with an agent
Run an AI accessibility audit against WCAG 2.2 AA with Playwright, axe-core and an agent, add the manual checks scanners miss, and rank fixes by user impact.
- Fix flaky E2E tests with the Playwright healer, safely
Prove the flake, run Playwright's healer agent on a branch, check each change for red flags, keep a heal log and merge by hand.
Related tools
Applitools
Testing platform built on visual AI comparison, with no-code and SDK authoring.
Stagehand
Browserbase's SDK for browser agents, mixing natural-language actions with code.
Browser Use
Open-source library and cloud service for AI agents that operate websites.
Browserbase
Hosted headless browsers for agents, with sessions you can watch and debug.
Chrome DevTools for agents
MCP server and CLI for agents to debug live Chrome.
Playwright MCP
MCP server that lets agents drive a browser through Playwright.