playwright-dev
bởi microsoft
Hướng dẫn mở rộng Playwright với các API mới, công cụ MCP, lệnh CLI và các phụ thuộc được đóng gói. Bao gồm cấu trúc monorepo, quy trình build/test/lint và quy ước mã hóa thông qua tham chiếu CLAUDE.md. Cung cấp hướng dẫn chi tiết để triển khai API client/server, viết bài kiểm tra và sửa đổi các lớp giao thức. Giải thích cách thêm công cụ MCP, lệnh CLI và tùy chọn cấu hình trong hệ sinh thái Playwright. Ghi lại quy trình đóng gói để gộp các gói npm của bên thứ ba vào...
npx skills add https://github.com/microsoft/playwright --skill playwright-devPlaywright Development Guide
See CLAUDE.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