Microsoft has released Playwright v1.59.0 on April 1, 2026, a minor update in test automation. This version brings significant enhancements for capturing test evidence, enabling multi-client browser control, and improving observability.

Key Changes

Screencast The new page.screencast API unifies page content capture. It offers precise screencast recordings, visual action annotations, custom overlays, and real-time frame streaming. This replaces the basic recordVideo option with more granular control.

await page.screencast.start({ path: 'video.webm' });
// ... perform actions ...
await page.screencast.stop();

Action annotations can be enabled to highlight interacted elements and display action titles during recording, configurable via page.screencast.showActions() or playwright.config.ts.

await page.screencast.showActions({ position: 'top-right' });

Visual overlays allow adding chapter titles and custom HTML for richer narration, while real-time frame capture enables custom processing like AI vision or live previews. Agentic video receipts provide automated walkthroughs with annotations for human review, acting as verifiable evidence of agent work.

Interoperability The new browser.bind() API allows a launched browser to be shared and connected to by multiple clients, including playwright-cli and @playwright/mcp. This enables shared browser sessions and agentic workflows.

const { endpoint } = await browser.bind('my-session', {
  workspaceDir: '/my/project',
});

Clients can connect using chromium.connect(endpoint) or via CLI tools. Pass host and port options to bind over WebSocket instead of a named pipe.

Observability The new playwright-cli show command opens a Dashboard. This dashboard lists bound browsers, their statuses, and allows interaction, such as monitoring agent activity, manual interventions, and opening DevTools.

Impact for QA Teams

These updates significantly enhance test evidence generation and debugging capabilities. QA engineers can create more informative video recordings, streamline agentic testing workflows, and gain better visibility into automated browser sessions. This improves efficiency in identifying and reporting issues.

For more on Playwright, explore our Playwright tutorial for web testing or compare it with other tools in our Playwright vs Cypress comparison.