Playwright Knowledge Patch

•
24
•

Bridges the LLM knowledge gap with modern Playwright v1.61 APIs, MCP automation, passkey testing, and advanced runner controls.

The Playwright Knowledge Patch equips Claude Code with modern Playwright features, covering changes and APIs introduced up through version 1.61. It provides guidance on virtual WebAuthn passkey testing, direct web storage manipulation, WebP screenshots, AbortSignal cancellation, component testing stories, resource cleanup via explicit resource management (`await using`), trace recording modes, and the Playwright MCP server. This skill is essential for QA engineers and full-stack developers writing resilient end-to-end and component tests or automating browser sessions using the Model Context Protocol without relying on outdated documentation.

主要功能

0124 GitHub stars
02Guidance on virtual authenticator passkeys, WebAuthn ceremonies, and direct storage state handling
03Resource cleanup patterns using JavaScript explicit resource management (`await using`)
04Detailed implementation patterns for AbortSignal cancellation and action scrolling controls
05Configuration rules for Playwright MCP server automation, access boundaries, and accessibility snapshots
06Enhanced test runner debugging, WebP snapshot assertions, and isolated retry strategies

使用场景

01Implementing modern authentication flows in E2E tests using virtual passkeys and storage states
02Upgrading existing test suites to modern Playwright APIs and isolated test runner scheduling
03Configuring and debugging Playwright MCP server instances for agentic browser interactions