class Capybara::RackTest::Form
def submit(button)
def submit(button) action = button&.[]('formaction') || native['action'] method = button&.[]('formmethod') || request_method driver.submit(method, action.to_s, params(button), content_type: native['enctype']) end