Method: Webrat::Selenium::Matchers::HaveXpath#does_not_match?
- Defined in:
- lib/webrat/selenium/matchers/have_xpath.rb
#does_not_match?(response) ⇒ Boolean
17 18 19 20 21 22 23 |
# File 'lib/webrat/selenium/matchers/have_xpath.rb', line 17 def does_not_match?(response) response.session.wait_for do !response.selenium.is_element_present("xpath=#{@expected}") end rescue Webrat::TimeoutError false end |