How do you set Script Timeouts on Selenium Webdriver in Python?
python, selenium, selenium-webdriver
Solution
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
Problem
There are three kinds of timeout functions for Java in Wedriver.Timeouts: - implcitlyWait - pageLoadTimeout - setScriptTimeout 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. - implicitly_wait(10) - set_page_load_timeout(20)