Method: Capybara::Node::Matchers#has_no_field?
- Defined in:
- lib/capybara/node/matchers.rb
#has_no_field?(locator = nil, **options, &optional_filter_block) ⇒ Boolean
Checks if the page or current node has no form field with the given label, name or id. See #has_field?.
435 436 437 |
# File 'lib/capybara/node/matchers.rb', line 435 def has_no_field?(locator = nil, **, &optional_filter_block) has_no_selector?(:field, locator, **, &optional_filter_block) end |