module Watir
Autogenerated from HTML specification. Edits may be lost.
Autogenerated from SVG
specification. Edits may be lost.
Constants
- VERSION
Public Class Methods
always_locate=(bool)
click to toggle source
always_locate?()
click to toggle source
# File lib/watir-webdriver.rb, line 21 def always_locate? @always_locate end
default_timeout()
click to toggle source
# File lib/watir-webdriver.rb, line 34 def default_timeout @default_timeout ||= 30 end
default_timeout=(value)
click to toggle source
Default wait time for wait methods.
# File lib/watir-webdriver.rb, line 42 def default_timeout=(value) @default_timeout = value end
element_class_for(tag_name)
click to toggle source
@api private
# File lib/watir-webdriver.rb, line 84 def element_class_for(tag_name) tag_to_class[tag_name.to_sym] || HTMLElement end
locator_namespace()
click to toggle source
# File lib/watir-webdriver.rb, line 59 def locator_namespace @locator_namespace ||= Watir::Locators end
locator_namespace=(mod)
click to toggle source
Whether the locators should be used from a different namespace. Defaults to Watir::Locators
.
# File lib/watir-webdriver.rb, line 68 def locator_namespace=(mod) @locator_namespace = mod end
prefer_css=(bool)
click to toggle source
prefer_css?()
click to toggle source
# File lib/watir-webdriver.rb, line 46 def prefer_css? @prefer_css end
tag_to_class()
click to toggle source
@api private
# File lib/watir-webdriver.rb, line 76 def tag_to_class @tag_to_class ||= {} end