Sha256: b78ee2ad3232d3dc03e114a6530d0b28e5c9b116724bdcd215a6742862b1e4a8

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

# encoding: utf-8
module Watir
  class Form

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

    def submit
      assert_exists
      @element.submit
    end

  end # Form
end # Watir

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
watir-webdriver-0.0.1.dev6 lib/watir-webdriver/elements/form.rb
watir-webdriver-0.0.1.dev5 lib/watir-webdriver/elements/form.rb