Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade Puppeteer from 22.13.1 to 22.13.0 #1485

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

lslezak
Copy link
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

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