playwright
Cross-browser automation and end-to-end test framework for Chromium, Firefox and WebKit
Playwright drives Chromium, Firefox and WebKit through one API, used for end-to-end tests with the Playwright Test runner, for standalone scripts such as screenshots, PDFs and scraping, and as a browser tool for AI agents. The agent paths are a CLI for coding agents and an MCP server that exposes pages as accessibility snapshots. Bindings exist for TypeScript/JavaScript, Python, .NET and Java.
Strengths
- One API covers Chromium, Firefox and WebKit on Linux, macOS and Windows, headless or headed
- Test runner has auto-waiting, retrying assertions, per-test browser contexts and parallel execution
- Trace Viewer records DOM snapshots, network requests and console logs; VS Code extension adds codegen
- Agent tooling: MCP server uses accessibility snapshots, so no vision model is needed
Weaknesses
- Browser binaries must be downloaded separately with `npx playwright install`
- MCP server and CLI live in separate repos, not in this one
- Agent features are secondary; the core is a testing and automation library
- no GPU
- Needs Node.js, Browser binaries via npx playwright install