This repository has been archived by the owner on May 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 369
Navigation Timeout Exceeded: 30000 ms exceeded #285
Comments
set timout=1000000 |
what's the different ? |
Exactly i don't know. |
Hi viponedream,do you have solved this problem? I meet this problem as your,and would you show me your solution if you have solve it? |
timeout=0 async def goto_url_async(page, url, flag=None, timeout=0): |
Hi @viponedream, it looks like this project has been abandoned. You may want to consider the active fork pyppeteer2. Feel free to create an issue there if your problem persists with the updated libary. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
it always says:
pyppeteer.errors.TimeoutError: Navigation Timeout Exceeded: 30000 ms exceeded.
in fact, it open the url very fast and load well.
but, the webdriver doesnt know yet. it thinks the page is still empty. i can see it with my eyes the page has opened already.
How to make the page knows it?
timeout=30*1000 options = {"waitUntil": 'load', "timeout": timeout} url = 'https://www.baiduc.com' await page.goto(url, options=options)
and then i try this below, it's the same error, timeout. of course the page is already opened.
await asyncio.wait([page.goto(url, options=options), page.waitForNavigation() ])
to solve this problem is to set timeout=0 but it keep waiting so long.
The text was updated successfully, but these errors were encountered: