Sha256: 7f6cec38f115069e6c247b1e6b09d140772b82422961c2e87d1df49ba0ae105e

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

module Watir
  class Form < HTMLElement

    #
    # Submits the form.
    #
    # This method should be avoided - invoke the user interface element that triggers the submit instead.
    #

    def submit
      element_call(:wait_for_present) { @element.submit }
      browser.after_hooks.run
    end

  end # Form
end # Watir

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-6.10.1 lib/watir/elements/form.rb