module Capybara::Node::Matchers

def has_selector?(*args, **options, &optional_filter_block)

Returns:
  • (Boolean) - If the expression exists

Options Hash: (**args)
  • :between (Range) -- Range of times that should contain number of times text occurs
  • :maximum (Integer) -- Maximum number of times the text should occur
  • :minimum (Integer) -- Minimum number of times the text should occur
  • :count (Integer) -- Number of times the text should occur

Parameters:
  • args () --
  • () --
def has_selector?(*args, **options, &optional_filter_block)
  make_predicate(options) { assert_selector(*args, options, &optional_filter_block) }
end