-
Notifications
You must be signed in to change notification settings - Fork 9k
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
page.waitForNavigation hangs forever #5422
Comments
If I remove or replace the But this speculation doesn't make sense, since according to the waitForNavigation documentation, if the |
I just got the exact same issue. After trying all sort of options for the waitForNavigation (timeouts, network idle, etc); I found your post and tried the same trick of deleting the waitForNavitation ... and indeed it worked for me as well. Either we do not understand under what circumstances a navigation event is generated, or there is a bug somewhere that does not always generate that. Thanks for the workaround though, hope this issue gets attended. |
For what it's worth, I often run into this problem using both Puppeteer and the "Pyppeteer" Python port, and still have not figured out the "one true cure." Any insight as to the potential root cause of this would be greatly appreciated. |
hi, any solution to this problem? it happens to me as well... is there a way to overcome this issue? Thanks |
Any updates on this one? |
I think it's a bug. Even if there's no navigation event, the wait should throw timeout error instead of hanging forever. |
1 similar comment
I think it's a bug. Even if there's no navigation event, the wait should throw timeout error instead of hanging forever. |
Reproduced it with puppeteer: 10.0.0, node: 14.16.0, npm: 6.14.11. |
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days. |
We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it! |
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
Full code as follows, just trying to go to 10 pages by clicking the next link on each page.
What is the expected result?
I was expecting the above code could go to
10
pages by clicking the next link on each page.What happens instead?
However, the above code gets stuck at 2nd page forever, waiting
waitForNavigation
to finish forever.The text was updated successfully, but these errors were encountered: