Playwright

Cross-browser end-to-end web testing and browser automation with a single API for Chromium, Firefox, and WebKit.

Framework
npm
v1.63.0
96,772 stars
Apache License 2.0

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
92 /100 Excellent
Development Activity 100
Maintenance 100
Community 68
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
91 /100 Excellent
Architecture 92
Code Quality 90
Innovation 92
Learning Curve 88

Playwright is an open-source framework from Microsoft for reliable end-to-end testing and browser automation. It drives Chromium, Firefox, and WebKit through one unified API, so a single suite of tests exercises every major rendering engine. Auto-waiting, web-first assertions, and full browser-context isolation eliminate the flakiness that plagues traditional automation tools.

Beyond its full-featured test runner, Playwright works as a general-purpose automation library for scripting, scraping, and driving browsers from AI agents. Built-in tooling such as the codegen recorder, trace viewer, and parallel execution across browser contexts makes it a complete platform for verifying and automating modern web applications.

What You Get

  • A cross-browser engine that runs the same tests against Chromium, Firefox, and WebKit through one API.
  • A parallel, isolated test runner with auto-waiting and web-first assertions that retry until conditions are met.
  • Resilient locators (getByRole, getByLabel, getByTestId) that target elements the way users perceive them.
  • Debugging and authoring tooling: the trace viewer, codegen recorder, UI mode, and step-through inspector.
  • A standalone automation library and CLI usable for scripting, scraping, and driving browsers from AI agents.

Common Use Cases

  • Writing end-to-end test suites that validate critical user flows across every major browser engine.
  • Automating repetitive browser tasks such as form submission, scraping, and PDF or screenshot generation.
  • Capturing traces and videos of test runs to debug intermittent CI failures.
  • Driving a real browser from AI agents and LLM-based automation via the CLI and library APIs.

Under The Hood

Architecture Playwright is a pnpm-workspace monorepo (packages/*) whose engine, playwright-core, splits cleanly into a client that exposes the public API (packages/playwright-core/src/client) and a server-side implementation (browserServerImpl.ts, androidServerImpl.ts) that speaks a defined wire protocol to patched browser builds. The public playwright package is a thin wrapper over playwright-core, adding the CLI (cli.js), while @playwright/test layers a test runner, fixtures, and reporters on top. This protocol-driven client/server separation is what lets one API drive Chromium, Firefox, and WebKit uniformly and enables out-of-process and remote automation.

Tech Stack The codebase is ~91% TypeScript, built and linted with a strict eslint.config.mjs and tsconfig, with 109 dev dependencies orchestrated through workspace scripts. It maintains its own browser patches (browser_patches/) rather than relying solely on stock builds, and ships companion packages for component testing (playwright-ct-react, playwright-ct-vue), HTML reporting, and trace viewing. The single runtime dependency of the playwright package is playwright-core, keeping the installable surface small.

Code Quality Testing is exhaustive: over 500 spec files span library, page, test-runner, electron, android, and installation suites, exercising real browsers across engines. A dedicated eslint config, editorconfig, and DEPS.list dependency manifests enforce internal module boundaries. Consistent naming, typed public surfaces, and a large contributor base (770+) backed by Microsoft signal a mature, well-governed project.

API Design The public API is a benchmark for developer experience: user-facing locators (getByRole, getByLabel, getByTestId) read like intent, auto-waiting removes manual timing, and web-first assertions retry automatically. Getting started takes a few lines, and tooling — codegen to record tests, the trace viewer to replay them, and UI mode — dramatically lowers the effort of authoring and debugging. Documentation at playwright.dev is thorough and example-rich.

Used by 295 apps in this directory

TypeScript
82%
MIT

OpenScreen

Design Tools · Note Taking · Productivity

39,963

Free, open-source screen recorder with zooms, annotations, and system audio capture

View details
52
Repo Health
85
Technical
78
Dependency
Built with
TypeScript 82%
Updated 3 months ago
Elixir
55%
Other

Operately

AI Assistants · Collaboration · Productivity

561

The open source company operating system that unifies OKRs, projects, and team execution with built-in accountability cadences.

View details
85
Repo Health
80
Technical
73
Dependency
Built with
Elixir 55%
TypeScript 43%
Updated 1 weeks ago
PHP
63%
Other

OpnForm

Forms Surveys · Marketing

3,752

Build unlimited, embeddable forms with no code — powered by AI, logic rules, and real-time analytics

View details
90
Repo Health
75
Technical
68
Dependency
Built with
PHP 63%
Vue 29%
Updated 2 weeks ago
TypeScript
98%
Other

Orama

Developer Tools · Search

10,565

A complete, embeddable search engine and RAG pipeline running in browsers, servers, and edge networks with full-text, vector, and hybrid search in under 2KB.

View details
68
Repo Health
83
Technical
64
Dependency
Built with
TypeScript 98%
Updated 4 weeks ago
TypeScript
95%
MIT

Orca

AI Agents · AI Code Assistants

79,834

An open-source Agent Development Environment that orchestrates fleets of parallel AI coding agents — Claude Code, Codex, Gemini and more — each running in its own isolated git worktree.

View details
84
Repo Health
85
Technical
80
Dependency
Built with
TypeScript 95%
Updated 1 weeks ago
Go
91%
Apache 2.0

Ory Kratos

Authentication

13,895

API-first identity and user management that handles login, registration, MFA, and recovery so your application never has to.

View details
81
Repo Health
78
Technical
65
Dependency
Built with
Go 91%
Updated 2 months ago
Python
63%
Apache 2.0

otari

AI Development · Developer Tools

494

A self-hosted, OpenAI-compatible LLM gateway that puts one endpoint in front of 40+ providers, with virtual API keys, per-user budgets enforced before spend, and full usage tracking.

View details
81
Repo Health
88
Technical
77
Dependency
Built with
Python 63%
TypeScript 35%
Updated 1 weeks ago
TypeScript
94%
MIT

paperclip

AI Agents · Automation

90,417

The open-source control plane that turns a pile of AI agents into an actual company — with org charts, budgets, heartbeats, and governance.

View details
86
Repo Health
78
Technical
71
Dependency
Built with
TypeScript 94%
Updated 1 weeks ago
Python
63%
GPL 3.0

Paperless-ngx

Bookmarks Archiving

46,108

Turn your paper pile into a searchable digital archive with OCR, AI classification, and automated workflows — all running on your own server.

View details
91
Repo Health
88
Technical
67
Dependency
Built with
Python 63%
TypeScript 28%
Updated 1 weeks ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers