module Capybara::Node::Matchers

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

Returns:
  • (Boolean) - Whether it exists

Parameters:
  • locator (String) -- The label, name or id of an unchecked field
def has_unchecked_field?(locator = nil, **options, &optional_filter_block)
  has_selector?(:field, locator, options.merge(unchecked: true), &optional_filter_block)
end