> @@ -2,6 +2,16 @@
> require 'forwardable'
>
> module Watir
> +
> + #
> + # Configurable default wait time for wait methods.
> + #
> +
> + @default_timeout = 30
> + class << self
> + attr_accessor :default_timeout
I had initially put the default_timeout in Watir::Wait. While it simplified the
Watir::Wait methods, it seemed less ideal for the Watir::EventuallyPresent
methods, which then needed to do Watir::Wait.default_timeout.
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/pull/230/files#r7860175
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development