Sha256: 6b8f8e8ec4dae97345db155506dc59f8f8d59653ee4dac177e70635f9f2f9e21

Contents?: true

Size: 327 Bytes

Versions: 38

Compression:

Stored size: 327 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

38 entries across 38 versions & 1 rubygems

Version Path
watir-6.13.0 lib/watir/elements/form.rb
watir-6.12.0 lib/watir/elements/form.rb
watir-6.11.0 lib/watir/elements/form.rb
watir-6.11.0.beta2 lib/watir/elements/form.rb
watir-6.11.0.beta1 lib/watir/elements/form.rb
watir-6.10.3 lib/watir/elements/form.rb
watir-6.10.2 lib/watir/elements/form.rb
watir-6.10.0 lib/watir/elements/form.rb
watir-6.9.1 lib/watir/elements/form.rb
watir-6.9.0 lib/watir/elements/form.rb
watir-6.8.4 lib/watir/elements/form.rb
watir-6.8.3 lib/watir/elements/form.rb
watir-6.8.2 lib/watir/elements/form.rb
watir-6.8.1 lib/watir/elements/form.rb
watir-6.8.0 lib/watir/elements/form.rb
watir-6.7.3 lib/watir/elements/form.rb
watir-6.7.2 lib/watir/elements/form.rb
watir-6.7.1 lib/watir/elements/form.rb
watir-6.7.0 lib/watir/elements/form.rb
watir-6.6.3 lib/watir/elements/form.rb