Module: Watir::Dom::Wait

Defined in:
lib/watir/dom/wait.rb,
lib/watir/dom/wait/version.rb

Constant Summary collapse

JAVASCRIPT =
File.read("#{File.dirname(__FILE__)}/extensions/js/waitForDom.js")
DOM_READY =
"return watir.domReady;"
VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Attribute Details

.delayObject


27
28
29
# File 'lib/watir/dom/wait.rb', line 27

def delay
  @delay ||= 1
end

.intervalObject


23
24
25
# File 'lib/watir/dom/wait.rb', line 23

def interval
  @interval ||= 0.5
end

.timeoutObject


19
20
21
# File 'lib/watir/dom/wait.rb', line 19

def timeout
  @timeout ||= 30
end