playwright-dev

Verified·Scanned 2/18/2026

This skill documents Playwright development (APIs, MCP tools, CLI, vendoring) and references files like docs/src/api/class-xxx.md and packages/playwright/src/mcp/browser/tools/<your-tool>.ts. It includes explicit shell commands such as npm run build/npm run flint and reads the environment variable process.env.PLAYWRIGHT_MCP_MY_OPTION.

by microsoft·v5f4d2cb·34.1 KB·81 installs
Scanned from main at 5f4d2cb · Transparency log ↗
$ vett add microsoft/playwright/playwright-dev

Playwright Development Guide

Table of Contents

  • Adding and Modifying APIs — define API docs, implement client/server, add tests
  • MCP Tools and CLI Commands — add MCP tools, CLI commands, config options
  • Vendoring Dependencies — bundle third-party npm packages into playwright-core or playwright

Build

  • Assume watch is running and everything is up to date.
  • If not, run npm run build.

Lint

  • Run npm run flint to lint everything before commit.