-
Notifications
You must be signed in to change notification settings - Fork 114
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
Upgrading puppeteer to 22.x #271
Comments
hey @akaspick every version of puppeteer tends to change something.. but it's hard to say how that would affect you without knowing more. My most recent tests ran against v22.15.0 and v23.2.1 (list is always updating as newer versions are released) and haven't shown any issues. If you search through processor_spec.rb for I'd suggest you start with the debugging section of the readme, and/or rendering a cut back version of the page until things start working again to help trace the problem |
@abrom Thanks for the suggestions. I'll take a look at the spec and the debugging options to see if that leads me to any solutions. If it helps, I'll post my solution here if I can get it working. V23 doesn't work either, it's just my PDF generation stopped working at V22. |
@abrom My testing is being done locally over HTTP and my url was being converted to HTTPS even though I'm providing "http://myapp:3000" for my Specifying |
Ahh, good catch 👍 Unfortunately my use case is rendering HTML directly to the browser and not from a local HTTP server. TBH i'm not sure there would be a nice way to have identified that. Hmm What would be good would be a small blurb in the README to explain this to others. Would you be interested in writing something up? (ie a PR) |
Could/should grover automatically add |
hmm i'm not sure about that, as it defeats the purpose of the feature. But I can see a warning being displayed as a possible option |
Nice one, thanks @akaspick I'll have a bit of a think about how an automated warning mechanism might work 😄 |
Any "gotchas" with upgrading to version 22 or greater of puppeteer with the most recent version of this gem? I can generate my PDFs without issue with puppeteer 21, but generation fails (timeeouts) starting at version 22.
I saw in the release notes for puppeteer 22 that
wait_for_timeout
was removed, but I've been usingwait_for_function
, so that change shouldn't affect me.https://github.com/puppeteer/puppeteer/releases/tag/puppeteer-core-v22.0.0
Anything else I should be taking into consideration?
The text was updated successfully, but these errors were encountered: