You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
I have faced this issue while using 'jest-environment-puppeteer' package.
The .setup() method in 'jest-environment-puppeteer/lib/PuppeteerEnvironment.js' is trying to .resetBrowser() first by .disconnect() from the existing Browser and .connect() back to it again.
But this issue also occurs when I tried to reproduced this steps manually.
(This issue doesn't occurs when run with Puppeteer version 1.20.0)
Please check the code below:
What is the expected result?
Puppeteer (Firefox) is running with the { ignoreHTTPSErrors: true } param
What happens instead?
The following error occurs:
`(node:14716) UnhandledPromiseRejectionWarning: Error: Protocol error (Browser.setIgnoreHTTPSErrors): Component returned failure code: 0xc1f30100 (NS_ERROR_FACTORY_EXISTS) [nsIComponentRegistrar.registerFactory] register@chrome://juggler/content/InsecureSweepingOverride.js:60:7
setIgnoreHTTPSErrors@chrome://juggler/content/protocol/BrowserHandler.js:27:7
dispatch@chrome://juggler/content/protocol/Dispatcher.js:182:56
_dispatch@chrome://juggler/content/protocol/Dispatcher.js:102:28
at Promise (...\tools\puppeteer\node_modules\puppeteer-firefox\lib\Connection.js:74:56)
at new Promise (<anonymous>)
at Connection.send (...\tools\puppeteer\node_modules\puppeteer-firefox\lib\Connection.js:73:12)
at Launcher.connect (...\tools\puppeteer\node_modules\puppeteer-firefox\lib\Launcher.js:222:24)
at <anonymous>
-- ASYNC --
at Puppeteer.<anonymous> (...\tools\puppeteer\node_modules\puppeteer-firefox\lib\helper.js:31:27)
at ...\tools\puppeteer\direct-connection.js:31:30
at <anonymous>`
The text was updated successfully, but these errors were encountered:
Thanks for the report @Quo0
I'm closing this issue since the experimental puppeteer-firefox package is no longer maintained. A replacement will be available
later this year. You can learn more about Mozilla's work on this at https://wiki.mozilla.org/Remote
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
I have faced this issue while using 'jest-environment-puppeteer' package.
The .setup() method in 'jest-environment-puppeteer/lib/PuppeteerEnvironment.js' is trying to .resetBrowser() first by .disconnect() from the existing Browser and .connect() back to it again.
But this issue also occurs when I tried to reproduced this steps manually.
(This issue doesn't occurs when run with Puppeteer version 1.20.0)
Please check the code below:
What is the expected result?
Puppeteer (Firefox) is running with the { ignoreHTTPSErrors: true } param
What happens instead?
The following error occurs:
The text was updated successfully, but these errors were encountered: