7,363 open-source and SaaS tools, with GitHub stats refreshed every day.

Playwright

Open source

A framework from Microsoft for end-to-end web testing and browser automation across Chromium, Firefox and WebKit using one API.

playwright.dev
Playwright homepage screenshot
GitHub stars
97k
Last commit
yesterday
Repository age
6 years
Version
v1.63.0
Licence
Apache-2.0
Self-hosted
Yes

About Playwright

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

Good fit for

  • →End-to-end testing of web apps in CI
  • →Scripted browser automation
  • →Giving AI agents browser control
Tags
testing
e2e-testing
browser-automation
chromium
firefox
webkit
typescript
ai-agents
mcp

Playwright: questions and answers

What is Playwright used for?
Playwright is a framework from Microsoft for end-to-end web testing and browser automation across Chromium, Firefox and WebKit using one API. It is a good fit for end-to-end testing of web apps in CI, scripted browser automation and giving AI agents browser control.
Is Playwright open source?
Yes. Playwright is open source under the Apache-2.0 licence. Its source code is on GitHub at microsoft/playwright and is written mainly in TypeScript.
Is Playwright free?
Yes. Playwright is open source, so the software itself is free to use.
What is Playwright an alternative to?
Playwright is an open-source alternative to BrowserStack, Sauce Labs, Katalon and TestMu AI (LambdaTest). Other open-source alternatives to BrowserStack include Appium and WebdriverIO.
Is Playwright actively maintained?
Yes. The most recent commit to Playwright was on 2 October 2026, and the latest release is v1.63.0, published on 4 September 2026. The project has 97k stars on GitHub.

Open-source alternatives to Playwright

See all

SaaS alternatives to Playwright

See all