Sha256: 2ae3d30529d1cc5ea16906ba6d90aa3a3072e96077cd203d3ced6a17136937bd

Contents?: true

Size: 328 Bytes

Versions: 10

Compression:

Stored size: 328 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
      assert_exists
      element_call { @element.submit }
      browser.after_hooks.run
    end

  end # Form
end # Watir

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
watir-webdriver-0.9.9 lib/watir-webdriver/elements/form.rb
watir-6.0.0.beta5 lib/watir/elements/form.rb
watir-6.0.0.beta4 lib/watir/elements/form.rb
watir-6.0.0.beta3 lib/watir/elements/form.rb
watir-6.0.0.beta2 lib/watir/elements/form.rb
watir-6.0.0.beta1 lib/watir/elements/form.rb
watir-webdriver-0.9.3 lib/watir-webdriver/elements/form.rb
watir-webdriver-0.9.2 lib/watir-webdriver/elements/form.rb
watir-webdriver-0.9.1 lib/watir-webdriver/elements/form.rb
watir-webdriver-0.9.0 lib/watir-webdriver/elements/form.rb