-
Notifications
You must be signed in to change notification settings - Fork 249
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
headless Puppeteer warning message shows #544
Comments
As a temporary measure, you can make a Unfortunately, there's a pretty significant performance hit (my tests sometimes show a 10x slowdown!!), especially for PDF output, see puppeteer/puppeteer#10071. It also seems a lot less stable compared to the default headless mode, in my experience ( As You could also pin your app to only use puppeteer versions before |
Using I agree changing the default puppeteer config to use the new headless mode isn't worth the potential problems just to hide a warning, but I think explicitly setting the headless mode to |
I've found another work around, you can set the
Hmmm, it's a bit of a hack, since it doesn't comply with Puppeteer's TypeScript types, which only accepts I had a look at the Puppeteer source-code, and it looks like I've made a PR (see #555). @jt-nti, since I adapted your idea, would you like to have a |
@aloisklink, always happy to be associated with a bit of a hack, thank you :) |
Sorry, looks like that PR was merged before I had the chance to add you as a co-author. That's my fault, I should have left the PR as a draft until I got your reply :( Well, on the plus side, at least you're now no longer associated with the |
I would definitely never do anything as hacky as Thanks for getting a fix in so quickly. |
Describe the bug
Puppeteer warning message is logged which will then be shown when people use my app.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error messages shown. They come from puppeteer so
quiet
option does nothing.Screenshots
The text was updated successfully, but these errors were encountered: