You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Chrome browser.
If the page uses javascript, then you need to wait until the script makes changes to the final html. We use the "--virtual-time-budget" flag.
But it is with this flag that chrome hangs 1 out of 10 cases. subprocess.run(command) in chrome.py runs indefinitely.
I used crutch like this: subprocess.run(command, check=True, timeout=5) and handled the error on exit from the "screenshot" function like this:
try:
pass
except subprocess.TimeoutExpired:
pass
The text was updated successfully, but these errors were encountered:
Using the Chrome browser.
If the page uses javascript, then you need to wait until the script makes changes to the final html. We use the "--virtual-time-budget" flag.
But it is with this flag that chrome hangs 1 out of 10 cases.
subprocess.run(command)
in chrome.py runs indefinitely.I used crutch like this:
subprocess.run(command, check=True, timeout=5)
and handled the error on exit from the "screenshot" function like this:The text was updated successfully, but these errors were encountered: