From db32d1f9505521b326d434d224f931b3f00c6576 Mon Sep 17 00:00:00 2001 From: Fawaz Ahmed Date: Thu, 3 Oct 2024 06:20:35 +0530 Subject: [PATCH] https://github.com/berstend/puppeteer-extra/pull/859 --- .../playwright-extra/src/puppeteer-compatiblity-shim/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright-extra/src/puppeteer-compatiblity-shim/index.ts b/packages/playwright-extra/src/puppeteer-compatiblity-shim/index.ts index 96fb07686..7c4cae662 100644 --- a/packages/playwright-extra/src/puppeteer-compatiblity-shim/index.ts +++ b/packages/playwright-extra/src/puppeteer-compatiblity-shim/index.ts @@ -134,7 +134,7 @@ export function createPageShim(page: pw.Page | pw.Frame) { return () => ({ send: async (method: string, params: any) => { const session = await getPageCDPSession(page) - return await session.send(method as any, params) + return await session.send(method as any, params).catch(console.error) }, on: (event: string, listener: any) => { getPageCDPSession(page).then(session => {