module Capybara::Node::Matchers

def has_no_field?(locator = nil, **options, &optional_filter_block)

Returns:
  • (Boolean) - Whether it doesn't exist

Options Hash: (**options)
  • :type (String) -- The type attribute of the field
  • :with (String, Regexp) -- The text content of the field or a Regexp to match

Parameters:
  • locator (String) -- The label, name or id of a field to check for
def has_no_field?(locator = nil, **options, &optional_filter_block)
  has_no_selector?(:field, locator, options, &optional_filter_block)
end