playwright-ws-trace
JSON →WebSocket frame tracing for Playwright trace viewer. Version 1.1.2 (stable, monthly releases). Adds WebSocket frame recording (sent/received) and a dedicated WS filter in the Network tab. Unlike built-in Playwright, captures full frame payloads with timestamps and direction. Patches Playwright on install via CDP hooks. Requires @playwright/test >=1.40.0 and Node >=18. Alternative to Microsoft's rejected PR #38427.
Resources
packageplaywright-ws-trace ↗
API endpoints
full doc /v1/registry/playwright-ws-trace