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-1.9.0.rc4 lib/watir/module.rb
watir-1.9.0.rc3 lib/watir/module.rb
watir-1.9.0.rc2 lib/watir/module.rb
watir-1.9.0.rc1 lib/watir/module.rb