Class: Webrat::Locators::FormLocator
- Defined in:
- lib/webrat/core/locators/form_locator.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from Locator
Constructor Details
This class inherits a constructor from Webrat::Locators::Locator
Instance Method Details
#form_element ⇒ Object
12 13 14 |
# File 'lib/webrat/core/locators/form_locator.rb', line 12 def form_element @dom.css("#" + @value).first || @dom.css(@value).first end |