OpenSourceProjects logo
playwright logo

playwrightPlaywright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

87,329 stars
5,578 forks
TypeScript
Apache-2.0
playwright screenshot

playwright

Playwright is a framework for web testing and automation that drives Chromium, Firefox, and WebKit with a single unified API. It enables developers to test across multiple browsers, automate web interactions, and build reliable end-to-end tests without browser-specific complexity.

Key Features

  • Cross-browser testing: Run tests on Chromium, Firefox, and WebKit with identical code
  • Auto-wait and web-first assertions: Eliminates flaky tests by waiting for elements to be actionable and retrying assertions automatically
  • Test isolation: Each test runs in its own browser context with full isolation and near-zero overhead
  • Trace and debugging: Capture execution traces, screenshots, videos, and inspect every action and network request
  • Multiple interfaces: Use as a test runner, CLI for coding agents, library for scripts, or MCP server for AI automation

Use Cases

  • End-to-end testing: Build comprehensive test suites with Playwright Test runner for complete application coverage
  • Browser automation: Automate web scraping, PDF generation, screenshots, and programmatic workflows
  • AI agent integration: Power coding assistants and LLM-driven automation through CLI and Model Context Protocol

Who Is It For

QA engineers, developers, and AI agents needing reliable cross-browser testing and web automation. Playwright suits teams building modern web applications who want to eliminate browser compatibility issues and reduce flaky test failures.

Trending Open Source Projects