Method: Capybara::RSpecMatchers#have_selector

Defined in:
lib/capybara/rspec/matchers.rb

#have_selectorObject

RSpec matcher for whether the element(s) matching a given selector exist.



18
19
20
# File 'lib/capybara/rspec/matchers.rb', line 18

def have_selector(...)
  Matchers::HaveSelector.new(...)
end