Playwright
playwright.dev
- Free plan
- Windows
- macOS
- Linux
- Web
- Self-hosted
What Playwright is
Playwright is a free web automation tool for testing, scripting, and AI-agent workflows. One API drives Chromium, Firefox, and WebKit, with language support for TypeScript, Python, .NET, and Java. Playwright Test includes automatic waiting, assertions, tracing, and parallel browser execution. Each test receives a fresh browser context equivalent to a new browser profile. For coding agents, Playwright provides a command-line interface and an MCP server that controls browsers through structured accessibility snapshots. The MCP server is described as compatible with VS Code, Cursor, Claude Desktop, Windsurf, and other MCP clients. A test generator, Trace Viewer, and VS Code extension support authoring, debugging, and test generation. Playwright runs on Linux, macOS, and Windows, locally or in CI, in headless or headed mode. Mobile web coverage includes native emulation for Chrome on Android and Mobile Safari. Documentation includes common CI configurations and recommends one worker in CI for stability. The core package metadata lists the Apache-2.0 license.
Who it suits
Playwright suits developers and QA teams writing browser tests, automation scripts, or AI-agent workflows. It supports local, CI, self-hosted, desktop, and mobile-web testing scenarios.
Good to know, and what to watch
- One API controls Chromium, Firefox, and WebKit
- Supports TypeScript, Python, .NET, and Java
- Fresh browser context for every test
- Includes tracing, assertions, and parallelism
- Supports Chrome Android and Mobile Safari emulation
- CI documentation recommends one worker for stability
- Browser automation requires coding
- Security reports go through Microsoft’s response center
Plans
Every plan and pricePlaywright
Free plan
The verdict
Playwright covers cross-browser automation with a broad language set and dedicated testing tools. Its agent-oriented CLI and MCP server extend browser control beyond conventional test suites, while CI users should follow the documented worker guidance.
What the maker publishes
- AI agent tools
- Playwright provides a CLI for coding agents and an MCP server for browser control through structured accessibility snapshots. source
- Browser support
- One API drives Chromium, Firefox, and WebKit. source
- CI
- The documentation provides sample configurations for common CI providers and recommends one worker in CI for stability and reproducibility. source
- Integrations
- The MCP server is described as compatible with VS Code, Cursor, Claude Desktop, Windsurf, and any MCP client. source
- Isolation
- Each test gets a fresh browser context, equivalent to a new browser profile. source
- Languages
- Playwright is available for TypeScript, Python, .NET, and Java. source
- License
- The Playwright core package metadata lists the Apache-2.0 license. source
- Mobile testing
- Playwright supports native mobile emulation for Chrome on Android and Mobile Safari. source
- Operating systems
- Playwright supports Linux, macOS, and Windows, locally or in CI, in headless or headed mode. source
- Purpose
- Playwright enables web automation for testing, scripting, and AI agents. source
- Security reporting
- Microsoft asks researchers to report vulnerabilities through the Microsoft Security Response Center rather than public GitHub issues. source
- Security response
- The security policy says reporters should receive a response within 24 hours. source
- Support and community
- The site links to Stack Overflow, Discord, training, and learning resources. source
- Test runner
- Playwright Test includes auto-waiting, assertions, tracing, and parallelism across browsers. source
- Test tools
- The site lists a test generator, Trace Viewer, and VS Code extension for running, debugging, and generating tests. source
Checked against the maker's pages on 2 Oct 2026.