From 81ded4c85f45023789444f8fc4e2f4ea6561f043 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Wed, 27 Mar 2024 16:17:39 +0100 Subject: [PATCH] chore: fix the todo for using MapperOptions type (#12148) --- packages/puppeteer-core/src/bidi/BidiOverCdp.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/puppeteer-core/src/bidi/BidiOverCdp.ts b/packages/puppeteer-core/src/bidi/BidiOverCdp.ts index ace35a52b0a..6f58d3e6a93 100644 --- a/packages/puppeteer-core/src/bidi/BidiOverCdp.ts +++ b/packages/puppeteer-core/src/bidi/BidiOverCdp.ts @@ -25,9 +25,7 @@ const bidiServerLogger = (prefix: string, ...args: unknown[]): void => { */ export async function connectBidiOverCdp( cdp: CdpConnection, - // TODO: replace with `BidiMapper.MapperOptions`, once it's exported in - // https://github.com/puppeteer/puppeteer/pull/11415. - options: {acceptInsecureCerts: boolean} + options: BidiMapper.MapperOptions ): Promise { const transportBiDi = new NoOpTransport(); const cdpConnectionAdapter = new CdpConnectionAdapter(cdp);