react-snap icon indicating copy to clipboard operation
react-snap copied to clipboard

Set timeout setting for puppeteer

Open yantakus opened this issue 7 years ago • 6 comments

Is this possible to set timeout settings as in this example: https://github.com/GoogleChrome/puppeteer/issues/782#issuecomment-329429325 ?

"reactSnap": {
    "puppeteer": {
      "networkIdleTimeout": 5000,
      "waitUntil": "networkidle",
      "timeout": 3000000
    }
  },

doesn't work.

I'm getting Error: Navigation Timeout Exceeded: 30000ms exceeded error and rolling back to 1.10 as stated here: https://github.com/stereobooster/react-snap/issues/131 doesn't help.

yantakus avatar Jun 18 '18 16:06 yantakus

At the moment it is not possible. Can you specify version of react-snap and puppeteer? I hopped this issue was fixed in latest puppeteer.

stereobooster avatar Jun 19 '18 17:06 stereobooster

I'm using 1.14.0. It is using "puppeteer": "^1.4.0",. I see there's already 1.15.0. Is there any updates in it regarding my question? I don't see a changelog anywhere.

yantakus avatar Jun 19 '18 18:06 yantakus

This is https://github.com/peterbe/minimalcss/issues/213 what made me think it was fixed

stereobooster avatar Jun 19 '18 18:06 stereobooster

@yantakus I was running into the same problem and updating my react-snap version to current (1.23.0) resolved the issue.

mikemfleming avatar Feb 12 '19 20:02 mikemfleming

Same problems here, happens on Debian and iOS aswell. Im running react-snap v 1.23.0, puppeteer v 1.12.2

d1ab avatar Feb 25 '19 16:02 d1ab

I had the same problem with react-snap v1.23.0 and I fixed it by npm i the latest version of puppeteer in my package-json (so v1.20.0) :)

pommedepain avatar Mar 19 '21 11:03 pommedepain