There are three kinds of timeout functions for Java in Wedriver.Timeouts:
I'm trying to look up the python equivalent of the third, but am not able to find it. The following are the python equivalents of the first two.
Is this what you are looking for :
set_script_timeout(time_to_wait)
Set the amount of time that the script should wait during an
execute_async_script call before throwing an error.
Args :
time_to_wait: The amount of time to wait (in seconds)
Usage :
driver.set_script_timeout(30)
Ref - set_script_timeout
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With