Open viponedream opened 4 years ago
set timout=1000000
what's the different ? set timout=1000000 set timeout=0
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): options = {"waitUntil": 'load', "timeout": timeout} await page.goto(url, options=options)
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.
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.