diff --git a/packages/puppeteer-core/src/common/FirefoxTargetManager.ts b/packages/puppeteer-core/src/common/FirefoxTargetManager.ts index 3ba073a0aa7..d5c8582072f 100644 --- a/packages/puppeteer-core/src/common/FirefoxTargetManager.ts +++ b/packages/puppeteer-core/src/common/FirefoxTargetManager.ts @@ -166,7 +166,10 @@ export class FirefoxTargetManager } async initialize(): Promise { - await this.#connection.send('Target.setDiscoverTargets', {discover: true}); + await this.#connection.send('Target.setDiscoverTargets', { + discover: true, + filter: [{}], + }); this.#targetsIdsForInit = new Set(this.#discoveredTargetsByTargetId.keys()); await this.#initializePromise; }