Class: Watir::Labels
- Inherits:
-
ElementCollections
- Object
- ElementCollections
- Watir::Labels
- Includes:
- CommonCollection
- Defined in:
- lib/watir/collections.rb
Overview
this class accesses the labels in the document as a collection Normally a user would not need to create this object as it is returned by the Watir::Container#labels method
Instance Method Summary collapse
Methods included from CommonCollection
Methods inherited from ElementCollections
#[], #each, #first, #get_length_of_input_objects, #initialize, #inspect, #last, #show, #to_s
Constructor Details
This class inherits a constructor from Watir::ElementCollections
Instance Method Details
#element_class ⇒ Object
263 |
# File 'lib/watir/collections.rb', line 263 def element_class; Label; end |
#element_tag ⇒ Object
264 |
# File 'lib/watir/collections.rb', line 264 def element_tag; 'LABEL'; end |