Method: Capybara::RackTest::Form#submit
- Defined in:
- lib/capybara/rack_test/form.rb
#submit(button) ⇒ Object
54 55 56 57 58 |
# File 'lib/capybara/rack_test/form.rb', line 54 def submit() action = &.[]('formaction') || native['action'] method = &.[]('formmethod') || request_method driver.submit(method, action.to_s, params(), content_type: native['enctype']) end |