Skip to content
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

input.pageLoadTimeoutSecs does not propagate to gotoOptions #182

Open
mnmkng opened this issue Jul 26, 2022 · 0 comments
Open

input.pageLoadTimeoutSecs does not propagate to gotoOptions #182

mnmkng opened this issue Jul 26, 2022 · 0 comments

Comments

@mnmkng
Copy link
Member

mnmkng commented Jul 26, 2022

From customer:

While we were working on a task created from the apify/puppeteer-scraper (build 2.0.8), we encountered a possible bug in the preNavigationHooks. Although we were setting a "pageLoadTimeoutSecs" of 180 seconds, our task would timeout after 60 seconds and what we've found was that in the "goToOptions" from the preNavigationHooks, the timeout was still set to 60 seconds, instead of taking the value set in the "pageLoadTimeoutSecs" property. We had to manually assign the "pageLoadTimeoutSecs" value to the "goToOptions"s timeout property to make it work.

I briefly checked the code and it should work, so not sure what's going on. More in Slack.

Run logs: https://pastebin.com/ec31MQBp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant