If you try to call #path on an Akephalos::Capybara::Node (for instance, if you call #inspect, which refers to #path), then Akephalos blows up, because Akephalos::Capybara::Node is calling native.xpath, which doesn't work because #xpath isn't defined for an Akephalos::Node. So this patch adds that. Cheers!
If you try to call #path on an Akephalos::Capybara::Node (for instance, if you call #inspect, which refers to #path), then Akephalos blows up, because Akephalos::Capybara::Node is calling
native.xpath
, which doesn't work because #xpath isn't defined for an Akephalos::Node. So this patch adds that. Cheers!