Home/Web/Playwright
P
License:Apache-2.0
Open source Self-hostable

Playwright

About

Microsoft's browser automation and end-to-end testing framework for Chromium, Firefox and WebKit. One API for reliable cross-browser tests, plus codegen and a test runner.

Pricing

Free

Playwright is a browser automation library from Microsoft that drives Chromium, Firefox and WebKit through a single, fast API. It includes a test runner with auto-waiting, traces and screenshots.

Key Features

  • Cross-browser tests in Chromium, Firefox and WebKit.
  • Auto-waiting for elements to be ready.
  • Codegen: record tests from your browser actions.
  • Trace viewer for debugging failures.
  • Network interception and emulation.
  • Test runner with parallel workers and retries.

Pricing

Playwright is free and open source under the Apache-2.0 license.

Getting Started

npm init playwright@latest
npx playwright test

Use npx playwright codegen to record interactions, then run npx playwright test --ui for the interactive test runner.