# File lib/capybara/node/matchers.rb, line 34 def has_selector?(*args) assert_selector(*args) rescue Capybara::ExpectationNotMet return false end