From webrat's doc, we have:
Webrat::Matchers#have_xpath(expected, options = {}, &block)
And
Webrat::Selenium::Matchers::have_xpath(xpath)
If u are a xpath fan like me, there is no way u can conveniently switch between the 2 modes without getting bitten.
No comments:
Post a Comment