# File lib/capybara/node/matchers.rb, line 83 def assert_selector(*args) synchronize do result = all(*args) result.matches_count? or raise Capybara::ExpectationNotMet, result.failure_message end return true end