@miyakogi
I am new to pyppeteer
I want to wait for a page to load images but there is no changes in DOM because canvas for images already exist but images are still loading.
I have tried below code but I am getting time exceeded error.
1. await asyncio.gather( page.waitForNavigation({'waitUntil': 'networkidle0'}), page.click('#lstTopSearch div') )
@miyakogi I am new to pyppeteer I want to wait for a page to load images but there is no changes in DOM because canvas for images already exist but images are still loading.
I have tried below code but I am getting time exceeded error.
1. await asyncio.gather( page.waitForNavigation({'waitUntil': 'networkidle0'}), page.click('#lstTopSearch div') )
2. 1. await asyncio.gather( page.waitForNavigation(), page.click('#lstTopSearch div') )
should this work or need to check if all requests has been finished. if yes then how.
Error
Traceback (most recent call last): File "/home/awaish/danamica/scraping/skraafoto/aerial_photos_scraper.py", line 73, in send_text_and_take_screenshot page.click('#lstTopSearch div') File "/home/awaish/danamica/envs/danamica/lib/python3.7/site-packages/pyppeteer/page.py", line 963, in waitForNavigation raise error pyppeteer.errors.TimeoutError: Navigation Timeout Exceeded: 30000 ms exceeded.