Method: Webrat::Locators::FieldLocator#locate
- Defined in:
- lib/webrat/core/locators/field_locator.rb
#locate ⇒ Object
8 9 10 11 12 |
# File 'lib/webrat/core/locators/field_locator.rb', line 8 def locate FieldByIdLocator.new(@session, @dom, @value).locate || FieldNamedLocator.new(@session, @dom, @value, *@field_types).locate || FieldLabeledLocator.new(@session, @dom, @value, *@field_types).locate end |