Skip to content

Commit db32d1f

Browse files
authored
https://github.com/berstend/puppeteer-extra/pull/859
1 parent 39248f1 commit db32d1f

File tree

1 file changed

+1
-1
lines changed
  • packages/playwright-extra/src/puppeteer-compatiblity-shim

1 file changed

+1
-1
lines changed

packages/playwright-extra/src/puppeteer-compatiblity-shim/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export function createPageShim(page: pw.Page | pw.Frame) {
134134
return () => ({
135135
send: async (method: string, params: any) => {
136136
const session = await getPageCDPSession(page)
137-
return await session.send(method as any, params)
137+
return await session.send(method as any, params).catch(console.error)
138138
},
139139
on: (event: string, listener: any) => {
140140
getPageCDPSession(page).then(session => {

0 commit comments

Comments
 (0)