We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39248f1 commit db32d1fCopy full SHA for db32d1f
packages/playwright-extra/src/puppeteer-compatiblity-shim/index.ts
@@ -134,7 +134,7 @@ export function createPageShim(page: pw.Page | pw.Frame) {
134
return () => ({
135
send: async (method: string, params: any) => {
136
const session = await getPageCDPSession(page)
137
- return await session.send(method as any, params)
+ return await session.send(method as any, params).catch(console.error)
138
},
139
on: (event: string, listener: any) => {
140
getPageCDPSession(page).then(session => {
0 commit comments