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

Navigation timeout infinitely #344

Closed
bv-sumit opened this issue May 10, 2022 · 0 comments
Closed

Navigation timeout infinitely #344

bv-sumit opened this issue May 10, 2022 · 0 comments

Comments

@bv-sumit
Copy link
Contributor

While trying to extract critical css for few websites we are getting navigation timed out error.

Sample Site: https://www.vision-institute.com/
cssString: ''body { color: red }''

tried to modify the timeout time for upto 2 minutes but it still fails.

On debugging we found out that It was getting hanged on page.goto(site_url)

So We checked puppeteer library and there such issues already exists.

For now it works if we add the pageGotoOptions : reference https://github.com/puppeteer/puppeteer/blob/v14.0.0/docs/api.md#pagegotourl-options

bv-sumit added a commit to bv-sumit/penthouse that referenced this issue May 17, 2022
pocketjoso added a commit that referenced this issue May 17, 2022
Fix #344 adding page goto options for puppeteer
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