I have been using:

1
page.has_selector?(:xpath, selectable).should == false

and

1
page.has_css?(selectable).should == true

Capybara Matchers


Comments
comments powered by Disqus