class Capybara::RSpecMatchers::Matchers::HaveSelector

def description = "have #{query.description}"

def description = "have #{query.description}"

def element_does_not_match?(el)

def element_does_not_match?(el)
  el.assert_no_selector(*@args, **session_query_options, &@filter_block)
end

def element_matches?(el)

def element_matches?(el)
  el.assert_selector(*@args, **session_query_options, &@filter_block)
end

def initialize(*args, **kw_args, &filter_block)

def initialize(*args, **kw_args, &filter_block)
  super
  return unless (@args.size < 2) && @kw_args.keys.any?(String)
  @args.push(@kw_args)
  @kw_args = {}
end

def query

def query
  @query ||= Capybara::Queries::SelectorQuery.new(*session_query_args, **session_query_options, &@filter_block)
end