class Capybara::RackTest::Form

def submit(button)

def submit(button)
  action = (button && button['formaction']) || native['action']
  method = (button && button['formmethod']) || request_method
  driver.submit(method, action.to_s, params(button))
end