# File lib/webrat/selenium/matchers/have_selector.rb, line 9 def matches?(response) response.session.wait_for do response.selenium.is_element_present("css=#{@expected}") end rescue Webrat::TimeoutError false end