Class: Locator::Element::Label

Inherits:
Locator::Element show all
Defined in:
lib/locator/element/label.rb

Instance Attribute Summary

Attributes inherited from Locator::Element

#attributes, #css, #locatables, #name

Instance Method Summary collapse

Methods inherited from Locator::Element

#all, #locate, #xpath

Constructor Details

#initializeLabel

Returns a new instance of Label.



4
5
6
# File 'lib/locator/element/label.rb', line 4

def initialize
  super(:label, :matches => [:content])
end