This commit is contained in:
@@ -72,7 +72,7 @@ async def screenshot_url_service(decoded_url, full_page=True):
|
||||
await page.wait_for_load_state('networkidle', timeout=30000)
|
||||
|
||||
# Allow a brief settle period for final paints/animations.
|
||||
await page.wait_for_timeout(1500)
|
||||
await page.wait_for_timeout(3000)
|
||||
screenshot_bytes = await page.screenshot(full_page=full_page, type='png')
|
||||
return screenshot_bytes
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user