Allows configuration of the default wait timeout used by the wait methods - 
wait_until, wait_while, when_present, wait_while_present and wait_until_present:

````ruby
Watir.default_timeout = 60
````

This is similar to a recent change in Watir-Webdriver 
(watir/watir-webdriver#230). As well, this changes the default timeout to be 30 
seconds for consistency.
You can merge this Pull Request by running:

  git pull https://github.com/jkotests/watir-classic 
configurable_default_timeout

Or you can view, comment on it, or merge it online at:

  https://github.com/watir/watir-classic/pull/66

-- Commit Summary --

  * Allow the default wait time to be configurable

-- File Changes --

    M lib/watir-classic.rb (14)
    M lib/watir-classic/element_extensions.rb (9)
    M lib/watir-classic/wait.rb (6)
    A spec/wait_spec.rb (47)

-- Patch Links --

https://github.com/watir/watir-classic/pull/66.patch
https://github.com/watir/watir-classic/pull/66.diff
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to