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