Skip to content

Downgrade Puppeteer from 22.13.1 to 22.13.0#1485

Merged
lslezak merged 2 commits intomasterfrom
puppeteer-downgrade-to-22.13.0
Jul 19, 2024
Merged

Downgrade Puppeteer from 22.13.1 to 22.13.0#1485
lslezak merged 2 commits intomasterfrom
puppeteer-downgrade-to-22.13.0

Conversation

@lslezak
Copy link
Copy Markdown
Contributor

@lslezak lslezak commented Jul 19, 2024

Problem

  • The latest version 22.13.1 fails to start with the Firefox browser :-(
  • With Chromium it works fine
  • It crashes with this error when starting the test:
ProtocolError: Protocol error (session.new): invalid argument Expected [object String]
"unhandledPromptBehavior" to be a string, got [object Object] {"default":"ignore"}
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8

Solution

  • Downgrade to 22.13.0

Details

  • I have tracked that down to this commit which was added in 22.13.1
  • The ^22.13.0 version actually means latest 22.x.x higher or equal to 22.13.0 which currently means 22.13.1
  • With 22.13.0 we explicitly pin to that specific version

Testing

  • Tested manually, with 22.13.0 the test starts fine

lslezak added 2 commits July 19, 2024 12:43
The latest version fails to start with the Firefox browser :-(
@lslezak lslezak merged commit 08e2c0b into master Jul 19, 2024
@lslezak lslezak deleted the puppeteer-downgrade-to-22.13.0 branch July 19, 2024 11:57
@imobachgs imobachgs mentioned this pull request Sep 20, 2024
imobachgs added a commit that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants