diff --git a/packages/puppeteer-core/src/node/FirefoxLauncher.ts b/packages/puppeteer-core/src/node/FirefoxLauncher.ts index 695eae53e87..eb4f375fc70 100644 --- a/packages/puppeteer-core/src/node/FirefoxLauncher.ts +++ b/packages/puppeteer-core/src/node/FirefoxLauncher.ts @@ -45,6 +45,8 @@ export class FirefoxLauncher extends ProductLauncher { ...(protocol === 'webDriverBiDi' ? {} : { + // Do not close the window when the last tab gets closed + 'browser.tabs.closeWindowWithLastTab': false, // Temporarily force disable BFCache in parent (https://bit.ly/bug-1732263) 'fission.bfcacheInParent': false, }),