Method: Capybara::Node::Finders#find_field
- Defined in:
- lib/capybara/node/finders.rb
#find_field([locator], **options) ⇒ Capybara::Node::Element
Find a form field on the page. The field can be found by its name, id or label text.
135 136 137 |
# File 'lib/capybara/node/finders.rb', line 135 def find_field(locator = nil, **, &optional_filter_block) find(:field, locator, **, &optional_filter_block) end |