Object
Set the amount of time the driver should wait when searching for elements.
# File lib/selenium/webdriver/common/timeouts.rb, line 13 def implicit_wait=(seconds) @bridge.setImplicitWaitTimeout Integer(seconds * 1000) end
Sets the amount of time to wait for an asynchronous script to finish execution before throwing an error. If the timeout is negative, then the script will be allowed to run indefinitely.
# File lib/selenium/webdriver/common/timeouts.rb, line 23 def script_timeout=(seconds) @bridge.setScriptTimeout Integer(seconds * 1000) end
Generated with the Darkfish Rdoc Generator 2.