Playwright
A framework from Microsoft for end-to-end web testing and browser automation across Chromium, Firefox and WebKit using one API.
- GitHub stars
- 97k
- Last commit
- yesterday
- Latest release
- v1.63.0
- Licence
- Apache-2.0
- Self-hosted
- Yes

Playwright is an open-source framework for testing and automating web applications. A single API drives Chromium, Firefox and WebKit, so the same script or test can cover all three engines. It is used for end-to-end testing, for scripted browser tasks and, increasingly, as a tool that AI agents call to operate a browser.
The bundled Playwright Test runner executes tests in parallel with a fresh browser context per test, which gives isolation without the cost of launching a new browser. Locators mirror how users see the page, actions wait automatically until elements are ready, and assertions retry until they pass. Failures can be investigated with traces that capture screenshots, DOM snapshots, network requests and console output in a Trace Viewer.
Beyond the test runner there is a standalone library for scripts, a CLI aimed at coding agents, an MCP server for LLM-driven automation and a VS Code extension. The code is Apache-2.0 licensed and runs on your own machines and CI servers, with no hosted service required.
Key features
- One API for Chromium, Firefox and WebKit
- Auto-waiting actions and retrying assertions
- Parallel tests with isolated browser contexts
- Trace Viewer with DOM snapshots and network logs
- Locators that mirror how users see pages
- MCP server and CLI for AI agents
- VS Code extension for authoring tests
Pricing: Free and open source under the Apache-2.0 license.
