Playwright Development Guide
See AGENTS.md for monorepo structure, build/test/lint commands, and coding conventions.
Detailed Guides
- Library Architecture â client/server/dispatcher structure, protocol layer, DEPS rules
- Adding and Modifying APIs â define API docs, implement client/server, add tests
- MCP Tools and CLI Commands â add MCP tools, CLI commands, config options
- Vendor Dependencies & Bundling â utilsBundle, coreBundle, babelBundle; adding vendored npm packages; DEPS.list;
check_deps - Updating WebKit Safari Version â update the Safari version string in the WebKit user-agent
- WebView (iOS Safari) Backend â
webkit/webview/against stock Mobile Safari; provisional-target pause/resume; what's upstream vs Playwright patches; local + CI test setup - Bisecting Across Published Versions â reproduce regressions side-by-side from npm and diff
node_modules/playwright/lib/between versions - Dashboard - the UI powering the "playwright cli show" command, and how to work on it
Installs: 3.9K | GitHub stars: 101.3K | First seen: Feb 14, 2026


