Sha256: 05336fb4da924c50c7ff8d054328438860485437b28d32b1a4802a4b60db3ee2

Contents?: true

Size: 368 Bytes

Versions: 24

Compression:

Stored size: 368 Bytes

Contents

module Watir
  include Watir::Exception

# Directory containing the watir.rb file
  @@dir = File.expand_path(File.dirname(__FILE__))

# Like regular Ruby "until", except that a Wait::TimeoutError is raised
# if the timeout is exceeded. Timeout is IE.attach_timeout.
  def self.until_with_timeout # block
    Wait.until(IE.attach_timeout) { yield }
  end
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
watir-classic-3.0.0 lib/watir-classic/module.rb
watir-3.0.0.rc3 lib/watir/module.rb
watir-3.0.0.rc2 lib/watir/module.rb
watir-3.0.0.rc1 lib/watir/module.rb
watir-2.0.4 lib/watir/module.rb
watir-2.0.3 lib/watir/module.rb
watir-2.0.2 lib/watir/module.rb
watir-2.0.2.rc1 lib/watir/module.rb
watir-2.0.1 lib/watir/module.rb
watir-2.0.0 lib/watir/module.rb
watir-2.0.0.rc3 lib/watir/module.rb
watir-2.0.0.rc2 lib/watir/module.rb
watir-1.9.2 lib/watir/module.rb
watir-1.9.2.rc1 lib/watir/module.rb
watir-1.9.1 lib/watir/module.rb
watir-1.9.1.rc1 lib/watir/module.rb
watir-1.9.0 lib/watir/module.rb
watir-1.9.0.rc7 lib/watir/module.rb
watir-1.9.0.rc6 lib/watir/module.rb
watir-1.9.0.rc5 lib/watir/module.rb