Converting a locator into xpath in Capybara
2012-07-24 16:05:00 UTC
I have been using:
1
page.has_selector?(:xpath, selectable).should == false
and
1
page.has_css?(selectable).should == true
I have been using:
1
page.has_selector?(:xpath, selectable).should == false
and
1
page.has_css?(selectable).should == true