Class: Watir::ElementLocator

Inherits:
TaggedElementLocator show all
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

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

until_with_timeout

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