Bun's WebSocket implementation doesn't fully support Playwright's CDP connection because Playwright bundles its own 'ws' module. This causes connectOverCDP to timeout. The patch makes Playwright use the native 'ws' module when running under Bun, which works with Bun's WebSocket shim. Fixes browser snapshot/act timeouts after PR #278 (tsx → bun migration). Ref: https://github.com/oven-sh/bun/issues/9911
769 B
769 B