Add ability to tune / remove default puppeteer timeout
See original GitHub issue🧩 Feature request
Description
Sometimes I need to wait for a very long time until page gets ready to process it. So I add manualIdle
check, but after 25sec puppeteer processes the page, even if there were no signal that page is ready.
Describe the solution you’d like
Some configuration parameter which will allow to tune this timeout or disable it at all.
Also it would be great to add parameter which make puppeteer plugin throw an error and stops processing in case such timeout is reached instead of silently continue process.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Puppeteer option 'timeout' being ignored in rendering #1354
We tried adding the timeout option in the puppeteerLaunchOptions section of our Scully config without any results.
Read more >Node.js puppeteer - How to set navigation timeout?
Show activity on this post. The default in puppeteer timeout is 30 seconds. To use custom timeouts, you can use the setDefaultNavigationTimeout ...
Read more >Dealing with timeouts in Puppeteer 🐢️
Solution 2: Set or disable timeouts for a Puppeteer page/tab #. If you want to increase the timeout for all requests and navigational...
Read more >node_modules/puppeteer/lib/types.d.ts - devtools ... - Google Git
which is the maximum wait time in milliseconds. * Pass `0` to disable the timeout. Defaults to 30 seconds. * @returns Promise which...
Read more >/vendor/puppeteer/docs/api.md | puppeteer_plus@0.12.0 | Deno
Defaults to `false`. - `timeout` <[number]> maximum time to wait for in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lamp-of-god I just now noticed your response. That is a compelling use case. We will have another discussion about this. This will probably swing the discussion. I’ll let you know in a little while.
As I saw recently, nothing has changed. Had to update my Scully configs and ended up hot patching the puppeteer plugin. Made a Gist for this: https://gist.github.com/jsanta/4adbcdb00409c81853c8b9241fe36ccc