class Capybara::RackTest::Node
def form
def form if native[:form] native.xpath("//form[@id='#{native[:form]}']") else native.ancestors('form') end.first end
def form if native[:form] native.xpath("//form[@id='#{native[:form]}']") else native.ancestors('form') end.first end