This commit is contained in:
Andras Schmelczer 2026-05-06 19:54:50 +01:00
parent e3e8a4522e
commit 58bb3cb4f8
9 changed files with 49 additions and 174 deletions

View file

@ -36,8 +36,6 @@ export async function launchRecordingBrowser(): Promise<RecordingBrowser> {
async function suppressDevServerNoise(context: BrowserContext) {
await context.addInitScript(() => {
(window as typeof window & { __demoRecording?: boolean }).__demoRecording = true;
const RealWS = window.WebSocket;
window.WebSocket = new Proxy(RealWS, {
construct(target, args) {