diff --git a/src/common/Frame.ts b/src/common/Frame.ts index d09e3fca80766..b8cfc8f63546c 100644 --- a/src/common/Frame.ts +++ b/src/common/Frame.ts @@ -772,12 +772,7 @@ export class Frame { } return this.worlds[PUPPETEER_WORLD].evaluateHandle( - async ({ - url, - id, - type, - content, - }: Omit) => { + async ({url, id, type, content}) => { const script = document.createElement('script'); if (url) { script.src = url;