playwright-knowledge-patch

Document Playwright 1.50–1.59 API and behavioral changes.

22|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/Nevaberry/nevaberry-plugins --skill playwright-knowledge-patch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-knowledge-patch
Source: https://github.com/Nevaberry/nevaberry-plugins/tree/main/plugins/playwright-knowledge-patch/skills/playwright-knowledge-patch
Command: npx skills add https://github.com/Nevaberry/nevaberry-plugins --skill playwright-knowledge-patch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill fills gaps in model and developer knowledge about Playwright versions 1.50–1.59 so generated tests, configuration, and tooling do not rely on removed selectors, deprecated options, or APIs introduced after the model cutoff.

Core Features & Use Cases

  • Screencast API: recording, overlays, chapters, and real-time frame streaming for visual test artifacts.
  • Browser binding and dashboard: share launched browsers via browser.bind/unbind and connect via CLI or WebSocket.
  • Test runner & agents: new test.step options, TestStepInfo, per-project workers, failOnFlakyTests, test agents (planner/generator/healer).
  • Page/context APIs and storage: storageState with IndexedDB, context.setStorageState, async disposables, console/page diagnostics.
  • Breaking changes & compatibility: concise removal notices for legacy selectors, launch options, and platform support, with migration guidance.
  • Use Case: Scan a test suite or codegen workflow to ensure Playwright tests use the correct new APIs (for example, migrate from legacy selectors and adopt screencast or browser.bind features).

Quick Start

Load the playwright-knowledge-patch and run the knowledge-patch setup to scan your project and apply Playwright 1.50–1.59 guidance.

Frequently Asked Questions about playwright-knowledge-patch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate Playwright tests for breaking changes introduced after version 1.50?

The patch provides concise removal notices and migration guidance for legacy selectors and options deprecated between Playwright 1.50 and 1.59.

What is the Playwright Screencast API and how do I use recording overlays?

It provides recording, overlays, chapters, and real-time frame streaming to generate visual test artifacts.

Can I share a launched Playwright browser session via bind or WebSocket?

You can share launched browsers via browser.bind/unbind and connect via CLI or WebSocket for remote dashboard access.

Does Playwright storageState support IndexedDB for context persistence?

Playwright supports storageState with IndexedDB and context.setStorageState to manage browser context persistence across test runs.

How do I configure Playwright test agents and per-project workers?

Use new test runner options like TestStepInfo, per-project workers, failOnFlakyTests, and test agents (planner, generator, healer) to manage execution.

Why are my legacy Playwright selectors not working after a recent update?

Legacy selectors were removed between versions 1.50 and 1.59; the patch provides removal notices and migration guidance to adopt new locator changes.