Class: Watir::HTMLElementCollection

Inherits:
ElementCollection show all
Defined in:
lib/watir-classic/element_collection.rb

Overview

This class represents general elements collection.

Instance Method Summary collapse

Methods inherited from ElementCollection

#[], #first, #initialize, #inspect, #last, #length, #to_s

Constructor Details

This class inherits a constructor from Watir::ElementCollection

Instance Method Details

#eachObject



122
123
124
# File 'lib/watir-classic/element_collection.rb', line 122

def each
  @container.locator_for(TaggedElementLocator, @specifiers, Element).each { |element| yield element }
end