question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
SanderEliascommented, Oct 4, 2021

@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.

2reactions
jsantacommented, Nov 25, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found