Method: Webrat::Selenium::Matchers::HaveXpath#initialize
- Defined in:
- lib/webrat/selenium/matchers/have_xpath.rb
#initialize(expected) ⇒ HaveXpath
Returns a new instance of HaveXpath.
5 6 7 |
# File 'lib/webrat/selenium/matchers/have_xpath.rb', line 5 def initialize(expected) @expected = expected end |