Class: Watir::ElementLocator
- Inherits:
-
TaggedElementLocator
- Object
- Locator
- TaggedElementLocator
- Watir::ElementLocator
- Defined in:
- lib/watir/locator.rb
Overview
This is like the TaggedElementLocator but get all the elements by forcing @tag to be ‘*’
Instance Method Summary collapse
-
#initialize(container) ⇒ ElementLocator
constructor
A new instance of ElementLocator.
Methods inherited from TaggedElementLocator
#each, #each_element, #locate, #match?
Methods inherited from Locator
#create_element, #document, #has_excluding_specifiers?, #locate_by_id, #locate_by_xpath_css_ole, #match_with_specifiers?, #normalize_specifiers!, #set_specifier
Methods included from Watir
Constructor Details
#initialize(container) ⇒ ElementLocator
Returns a new instance of ElementLocator.
253 254 255 |
# File 'lib/watir/locator.rb', line 253 def initialize(container) super(container, "*", Element) end |