Method: PageObject::Accessors#form
- Defined in:
- lib/page-object/accessors.rb
#form(name, identifier = {:index => 0}, &block) ⇒ Object
adds two methods - one to retrieve the form element, and another to check the form’s existence.
715 716 717 |
# File 'lib/page-object/accessors.rb', line 715 def form(name, identifier={:index => 0}, &block) standard_methods(name, identifier, 'form_for', &block) end |