
Playwright Dev
If you're contributing to Playwright itself or need to understand its internals, this walks you through the architecture and development workflow. It covers adding new APIs with proper client/server implementation, creating MCP tools and CLI commands, and managing vendored dependencies across the different bundles (utils, core, babel). The guides explain the dispatcher protocol layer, DEPS rules for dependency management, and practical tasks like updating the WebKit Safari version string or bisecting regressions across published npm versions. Most useful when you're extending Playwright's functionality or debugging issues that require understanding how the library's protocol and bundling actually work under the hood.
- skills.sh installs
- 3.8K
- GitHub stars
- 99.7K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add microsoft/playwright --skill playwright-dev --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/microsoft/playwright
- Categories
- Testing & QA, AI & Agent Building, CLI & Terminal