2014-04-22 112 views

回答

1

這是你在找什麼:

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) 

參考 - set_script_timeout

相關問題