Method: Selenium::WebDriver::Timeouts#page_load=
- Defined in:
- lib/selenium/webdriver/common/timeouts.rb
#page_load=(seconds) ⇒ Object
Sets the amount of time to wait for a page load to complete before throwing an error. If the timeout is negative, page loads can be indefinite.
77 78 79 |
# File 'lib/selenium/webdriver/common/timeouts.rb', line 77 def page_load=(seconds) @bridge.timeouts = {'pageLoad' => Integer(seconds * 1000)} end |