Verdict
Playwright is the best default for testing web apps in 2026. It's free under Apache 2.0, it drives Chromium, Firefox and WebKit from one API, and its auto-waiting cuts out a large class of flaky tests. Its tools are first-rate: a trace viewer that replays each step of a failed CI run, a code generator, and a UI Mode with watch and time-travel. It also became the browser that AI agents use. Microsoft ships an MCP server, a token-lean CLI for coding agents, and planner, generator and healer agents that write and repair tests, and GitHub's Copilot cloud agent turns Playwright MCP on by default. The weaknesses are real but narrow. The full test runner is Node-only, so Python, Java and .NET users get thinner integrations. Component testing is still experimental. WebKit is not branded Safari. Native mobile apps are out of scope. And the AI tooling widens the attack surface, as a 2025 MCP advisory showed.
Last reviewed: Oct 2026
Rubric (shared with our GitLab, Cursor, Grafana and Harness reviews): Clarity covers whether the product and its pricing are easy to understand. Openness covers source access, self-hosting, licensing and portability. Controls covers SSO, roles, policy, secrets and audit. Lifecycle fit covers how it plugs into plan, build, ship and operate. *The framework is free; the optional Azure service has two published per-minute rates. †Apache 2.0 (MIT for the .NET binding), runs anywhere, no account needed. ‡A library has no admin layer of its own. Access control, roles and reporting come from your CI system or from Azure (Microsoft Entra ID) if you use Playwright Workspaces.
At a glance
| Maker | Microsoft (see our Microsoft profile). Launched in January 2020 by “the same team that originally built Puppeteer at Google.”12 |
|---|---|
| License | Apache 2.0 for the core, Python and Java; MIT for the .NET binding.337 |
| Languages | TypeScript/JavaScript, Python, Java and .NET.4 |
| Browsers | Chromium, Firefox and WebKit on Windows, Linux and macOS, plus branded Chrome and Edge and mobile emulation.56 |
| Current release | 1.64.1 (Oct 14, 2026). Minor versions arrive about every four to six weeks.14 |
| GitHub stars | Playwright about 98,000; Playwright MCP about 38,300; playwright-cli about 14,400; Python binding about 15,000 (Oct 18, 2026).3151737 |
| Survey use | 24.9% of Stack Overflow 2026 respondents who answered the code-testing question (2,642 of 10,604), fourth overall and first among browser-testing tools.24 |
| npm downloads | playwright about 131.0M and @playwright/test about 86.2M in the week Sep 28–Oct 4, 2026; @playwright/mcp about 9.0M.25 |
| Managed service | Azure App Testing Playwright Workspaces, from $0.01 per test minute.1920 |
Origin and openness
Playwright launched in January 2020 as Microsoft's answer to a gap its own engineers had left behind. Its announcement said the team was “the same team that originally built Puppeteer at Google,” and that the goal was to offer the same capabilities for every major rendering engine instead of Chromium alone.1 Andrey Lushnikov, a Playwright core-team engineer, was previously Puppeteer's technical lead on the Chrome team.2 The 2020 announcement also hoped Playwright would become “vendor-neutral and shared governed.” Six years on it is still a Microsoft repository maintained by Microsoft staff, though the Apache license means anyone can fork it.13
One technical detail matters for buyers. Playwright downloads its own builds of each engine. Its Firefox matches the latest stable release but relies on patches, so it doesn't run the branded Firefox. Its WebKit is built from WebKit's main branch, often ahead of Safari, so it is a close proxy for Safari, not Safari itself. Chrome and Edge can be driven as shipped.5
The product
- Auto-waiting. Before each action, Playwright checks that the element is attached, visible, stable, enabled and able to receive events, and web-first assertions retry until they pass or time out. This removes most hand-written sleeps.7
- Isolation and parallelism. Each test gets a fresh browser context, which is cheap to create, and the runner shards and parallelizes across workers.6
- Trace viewer. A recorded trace replays each action with DOM snapshots, network, console and source. Since 1.63 it can also capture accessibility and screen snapshots per action.813
- Codegen. Records your clicks in a browser and writes the test in your language, preferring role, text and test-ID locators.9
- UI Mode. A local app to explore, run and debug tests with time-travel and watch mode.10 The VS Code extension offers a similar loop inside the editor.12
- Component testing. Mounts React, Vue and Svelte components in a real browser. The packages are still labeled experimental.11
- Also included: API testing, network mocking, visual comparisons, clock control and video. Version 1.63 (Sep 4) added test locks for shared resources; 1.64 (Oct 7) added a
--shuffleoption,locator.within(), 60 fps VP9 videos and WebMCP support.13
The full test runner, Playwright Test, is a Node.js package. Python users run Playwright through a pytest plugin, .NET users through base classes for MSTest, NUnit and xUnit, and Java users through JUnit support that is still labeled experimental. The browser API is the same, but sharding, fixtures, the HTML report and UI Mode are richest in Node.333435
AI-era features
- Playwright MCP. An Apache 2.0 Model Context Protocol server that lets a model drive a browser through structured accessibility snapshots, with no need for screenshots or a vision model. The README lists VS Code, Cursor, Windsurf, Claude Desktop, Goose, Grok, Junie “or any other MCP client.” The latest version is 0.0.83 (Sep 28, 2026).15
- playwright-cli. Microsoft now tells coding-agent users that the CLI with Skills is “the best fit,” because it avoids loading large tool schemas and accessibility trees into the model's context. MCP remains the choice for agents that need persistent browser state.1715
- Test Agents. Three agent definitions ship with Playwright: a planner that explores the app and writes a Markdown test plan, a generator that turns the plan into Playwright tests, and a healer that runs the suite and repairs failing tests.
npx playwright init-agentssets them up for VS Code, Claude Code, Codex or OpenCode.16 - Use by coding agents. GitHub's Copilot cloud agent enables the Playwright MCP server by default, alongside the GitHub MCP server, so it can open and check the app it is changing.18 (See our GitHub review.) In version 1.64, Playwright MCP also exposes tools a page registers through the experimental WebMCP browser API.13
Two cautions. First, healed tests still need human review, because a healer that makes a failing test pass can also hide a real regression. Second, an MCP server that controls a browser is a powerful local service. In January 2026, GitHub published a high-severity advisory (CVE-2025-9611): Playwright MCP before 0.0.40 didn't validate the Origin header, so a malicious web page could use DNS rebinding to call its tools.27 Keep it updated, and don't point an agent with a browser at sites you don't trust while it holds credentials.
Pricing
Playwright itself costs nothing: no seats, accounts or usage limits.3 You pay only for the machines that run it, whether that's your laptop, your CI runners (Playwright publishes Docker images and guides for GitHub Actions, GitLab CI, Azure Pipelines and others) or a hosted grid.38
Microsoft's own hosted option has changed names. Microsoft Playwright Testing, the preview service, was retired on Mar 8, 2026.22 Its replacement, Playwright Workspaces in Azure App Testing, became generally available in September 2025. It runs your tests on cloud-hosted Linux or Windows browsers in parallel, and now includes reporting.3623
| Option | Price | Notes |
|---|---|---|
| Playwright (framework, MCP, CLI, agents) | $0 | Apache 2.0; run anywhere.3 |
| Playwright Workspaces free trial | $0 | 30 days and 100 test minutes, first workspace in a subscription only.21 |
| Playwright Workspaces, Linux browsers | $0.01 / test minute | Billed by the second, pay as you go.1920 |
| Playwright Workspaces, Windows browsers | $0.02 / test minute | Billed by the second, pay as you go.1920 |
US list prices for East US from Azure's retail price data, effective since Sep 1, 2025 and unchanged as of Oct 18, 2026. Azure's pricing page shows the rates only after you choose a region and currency.2019 A test minute is total browser time across all tests: Microsoft's example is 50 tests of 12 seconds each, or 10 minutes. By that math, 1,000 tests of 30 seconds on Linux cost about $5 per full run.19 Reporting saves artifacts to an Azure storage account you link, which is billed as ordinary Azure storage.44
Adoption
By the measures we can source, Playwright leads browser testing:
- Stack Overflow 2026. 24.9% of respondents to the code-testing question used Playwright extensively in the past year, against 12.0% for Selenium and 8.2% for Cypress. It also ranked second for “want to use” (18.1%), and 51.9% of current users want to keep using it.24
- GitHub. About 98,000 stars for the main repository, just ahead of Puppeteer's 95,700 and nearly twice Cypress's 51,000.33940
- npm. In the week of Sep 28–Oct 4, 2026,
playwrighthad about 131.0M downloads, against 14.3M forpuppeteer, 7.4M forcypress, 3.3M forwebdriverioand 2.2M forselenium-webdriver.25
Downloads aren't users. Every @playwright/test install also pulls playwright, CI runs re-download packages, and many tools depend on Playwright for scraping or screenshots. Selenium is mostly used from Java, Python and C#, so its npm figure understates it. Stars measure attention, not use. We use the week of Sep 28–Oct 4 because npm's download API reported zero downloads for Oct 13–15, 2026, which made more recent weeks undercount.
Security record
- CVE-2025-59288 (high, Oct 2025, fixed in 1.55.1): browser-install scripts called
curlwith certificate checks turned off, which allowed a man-in-the-middle to swap in a malicious browser.26 - CVE-2025-9611 (high, published Jan 2026, fixed in MCP 0.0.40): DNS rebinding against a local Playwright MCP server, as described above.27
We found no new advisories for Playwright or Playwright MCP in the 60 days before Oct 18, 2026. Both of these flaws were in the tooling around the browser, so pin versions, update regularly and treat browser downloads and agent servers as part of your supply chain.
Strengths and weaknesses
Strengths
- Free and permissively licensed, with no paid tier needed for parallelism, retries or tracing.3
- One API across Chromium, Firefox and WebKit, in four languages.45
- Auto-waiting and web-first assertions that reduce flaky tests.7
- Excellent debugging: trace viewer, UI Mode, codegen and the VS Code extension.81012
- The most complete AI tooling of any browser-testing project: MCP, CLI with Skills, and test agents.151617
- A fast, steady release cadence.14
Weaknesses and risks
- Uneven languages. Playwright Test is Node-only; Java's JUnit support is experimental.34
- Patched engines. WebKit isn't Safari, and branded Firefox isn't supported.5
- Component testing is still experimental after several years.11
- No native mobile apps. Mobile is emulation, plus experimental Android automation; use Appium or WebdriverIO for real devices.643
- Upkeep. Each release pins new browser builds, which means re-downloads in CI and occasional behavior changes.13
- Single-vendor stewardship and an agent tooling surface that has already had a high-severity flaw.327
Who it's for
- Teams starting or replacing an end-to-end suite for a web app, especially in TypeScript.
- Teams that need Safari-engine coverage on Linux CI without a Mac farm.
- Teams using AI coding agents (Cursor, Copilot, Claude Code or Codex) that want the agent to check its own UI changes in a real browser.
Think twice if: you need real Safari or real mobile devices, your team is committed to Ruby (Selenium supports it; Playwright doesn't), or you rely on Cypress's in-browser runner and its dashboard.
Alternatives
| Tool | License, steward | Languages | Browsers | Paid add-on | SO 2026 use |
|---|---|---|---|---|---|
| Playwright | Apache 2.0; Microsoft3 | TS/JS, Python, Java, .NET4 | Chromium, Firefox, WebKit, Chrome, Edge5 | Optional Azure Workspaces, $0.01–$0.02 per test minute20 | 24.9%24 |
| Cypress | MIT; Cypress.io39 | JS/TS | Chrome family, Firefox; WebKit experimental29 | Cypress Cloud: free Starter; Team $799 a year28 | 8.2%24 |
| Selenium | Apache 2.0; Software Freedom Conservancy project4130 | Java, Python, C#, Ruby, JS30 | All major browsers, including real Safari, via WebDriver30 | None; grids are self-run or third-party | 12.0%24 |
| WebdriverIO | MIT; OpenJS Foundation, community-run4231 | JS/TS | Chrome, Firefox, Safari, Edge via WebDriver and BiDi; mobile and desktop apps via Appium31 | None | Not listed |
| Puppeteer | Apache 2.0; Google4032 | JS/TS | Chrome, Firefox32 | None | Not listed |
Cypress Cloud pricing (official, Oct 18, 2026): Starter is free with 500 test results a month and 10 users. Team is $799 a year (shown as $67 a month) for 120,000 test results a year and 50 users, with on-demand overage at $6 per 1,000 results. Business is $3,199 a year and adds SSO and spec prioritization. Enterprise is custom.28 Parallelization and Test Replay are Cloud features, while Playwright's equivalents (sharding and traces) are free in the framework. Puppeteer is a browser-automation library rather than a test runner; it is usually paired with Jest or similar. WebdriverIO and Puppeteer aren't options in the Stack Overflow question. Latest releases: Cypress 16.2.0 (Oct 14), Selenium 4.51.0 (Oct 9), WebdriverIO 10.1.0 (Oct 18; v10 shipped Oct 4) and Puppeteer 25.14.0 (Oct 14).39414240
In short: Cypress has a polished in-browser runner but narrower browser and language support and paid orchestration. Selenium has the widest language and real-browser reach, including Safari, and a standards-based protocol, at the cost of more setup and waits. WebdriverIO is the pick if you need one framework across web, mobile and desktop apps. Puppeteer is a lean choice for Chrome-centric scripting, not a full test framework.
If you want Playwright tests without writing or maintaining them yourself, see our QA Wolf review: its agents, or its engineers on the managed plan, write Playwright code you can export, billed per run. For a no-code route where testers record or prompt tests instead, see our Reflect review.
AI software lifecycle fit
- Plan. The planner agent turns app exploration into a Markdown test plan.16
- Code. Codegen, the VS Code extension, and MCP or CLI access for coding agents that need to see the page they're changing.9121517
- Test and review. The core job: end-to-end, API, visual and component tests, with traces attached to failed CI runs on GitHub or GitLab.838
- Ship and operate. Run as smoke tests after deploys or as synthetic checks; the healer agent can propose fixes when UI changes break tests.16
Bottom line
Playwright is the rare tool that is both the safe choice and the modern one. It's free, open and fast-moving, and it now powers browser testing for people and AI agents alike. Choose it unless you need real Safari, native mobile apps or Ruby. Keep it and its MCP server updated, review what the healer changes, and use Azure's Workspaces only if renting browsers by the minute is cheaper than running your own CI.
What we couldn't verify
- Whether Azure prices differ by region; we checked US list prices for East US only, and enterprise agreements may change them.
- How many people actually use Playwright: npm downloads include transitive installs and CI re-downloads, and Microsoft doesn't publish user counts.
- How well the planner, generator and healer agents work on large real-world suites; we found no independent evaluation and ran no benchmarks.
- How many coding agents beyond GitHub's Copilot cloud agent bundle Playwright by default.
- Whether the Playwright team still plans neutral, shared governance, as its 2020 announcement hoped.
Sources
- InfoQ — Microsoft Announces Playwright Alternative to Puppeteer (Jan 30, 2020), quoting the Playwright team
- Python Web Conf 2022 — Andrey Lushnikov speaker bio (former Chrome Puppeteer technical lead)
- GitHub — microsoft/playwright (Apache 2.0 license; about 98,000 stars)
- Playwright Docs — Supported languages
- Playwright Docs — Browsers
- Playwright Docs — Installation (platforms, mobile emulation)
- Playwright Docs — Auto-waiting
- Playwright Docs — Trace viewer
- Playwright Docs — Test generator (codegen)
- Playwright Docs — UI Mode
- Playwright Docs — Components (experimental)
- Playwright Docs — Getting started with VS Code
- Playwright Docs — Release notes (versions 1.63 and 1.64)
- GitHub — Playwright releases (v1.62.0 Jul 24, v1.63.0 Sep 4, v1.64.0 Oct 7, v1.64.1 Oct 14, 2026)
- GitHub — microsoft/playwright-mcp (README, supported clients, releases; about 38,300 stars)
- Playwright Docs — Playwright Test Agents (planner, generator, healer)
- GitHub — microsoft/playwright-cli (Playwright CLI with Skills)
- GitHub Docs — Extending Copilot cloud agent with MCP (Playwright MCP enabled by default)
- Microsoft Azure — Azure App Testing pricing (Playwright Workspaces, test-minute definition)
- Azure Retail Prices API — Azure App Testing, East US (Playwright Linux and Windows test minutes, effective Sep 1, 2025)
- Microsoft Learn — Playwright Workspaces free trial
- Microsoft Learn — Microsoft Playwright Testing retirement notice (Mar 8, 2026)
- Azure — Migration guide: Microsoft Playwright Testing to Playwright Workspaces
- Stack Overflow Developer Survey 2026 — Code testing tools (n = 10,604)
- npm — download counts API, week of Sep 28–Oct 4, 2026 (also @playwright/test and @playwright/mcp)
- GitHub Advisory — GHSA-7mvr-c777-76hp / CVE-2025-59288 (browser downloads without certificate checks, fixed in 1.55.1)
- GitHub Advisory — GHSA-6fg3-hvw7-2fwq / CVE-2025-9611 (Playwright MCP DNS rebinding, fixed in 0.0.40)
- Cypress — Cypress Cloud pricing
- Cypress Docs — Launching browsers
- Selenium — Documentation and project site
- WebdriverIO — Home
- Puppeteer — Documentation (version 25.14.0)
- Playwright for Python — Installation (pytest plugin)
- Playwright for Java — Test runners (JUnit, experimental)
- Playwright for .NET — Test runners (MSTest, NUnit, xUnit)
- Microsoft Tech Community — Azure App Testing announcement (Aug 7, 2025; GA update Sep 2025)
- GitHub — Playwright language bindings: playwright-dotnet (MIT), playwright-python and playwright-java (Apache 2.0)
- Playwright Docs — Continuous Integration (GitHub Actions, GitLab CI and others)
- GitHub — cypress-io/cypress (MIT; about 51,000 stars; v16.2.0 Oct 14, 2026)
- GitHub — puppeteer/puppeteer (Apache 2.0; about 95,700 stars; v25.14.0 Oct 14, 2026)
- GitHub — SeleniumHQ/selenium (Apache 2.0; about 34,600 stars; 4.51.0 Oct 9, 2026)
- GitHub — webdriverio/webdriverio (MIT; about 9,800 stars; v10.1.0 Oct 18, 2026)
- Playwright Docs — Android (experimental)
- Microsoft Learn — Playwright Workspaces reporting quickstart (linked storage account)
