Sha256: 06d9d83aacbd816cf66b5d20dcd6b5b13ab8d3becf99efd9b811badfe734739a

Contents?: true

Size: 344 Bytes

Versions: 26

Compression:

Stored size: 344 Bytes

Contents

module FireWatir
  #
  # Description:
  #   Class for Button element.
  #
  class Button < InputElement
    INPUT_TYPES = ["button", "submit", "image", "reset"]

    def locate
      super
      @o = @element.locate_tagged_element("button", @how, @what, self.class::INPUT_TYPES) unless @o
    end

  end # Button
end # FireWatir

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
firewatir-1.9.4 lib/firewatir/elements/button.rb
firewatir-1.9.3 lib/firewatir/elements/button.rb
firewatir-1.9.2 lib/firewatir/elements/button.rb
firewatir-1.9.2.rc1 lib/firewatir/elements/button.rb
firewatir-1.9.1 lib/firewatir/elements/button.rb
firewatir-1.9.1.rc1 lib/firewatir/elements/button.rb
firewatir-1.9.0 lib/firewatir/elements/button.rb
firewatir-1.9.0.rc7 lib/firewatir/elements/button.rb
firewatir-1.9.0.rc6 lib/firewatir/elements/button.rb
firewatir-1.9.0.rc5 lib/firewatir/elements/button.rb
firewatir-1.9.0.rc4 lib/firewatir/elements/button.rb
firewatir-1.9.0.rc3 lib/firewatir/elements/button.rb
firewatir-1.9.0.rc2 lib/firewatir/elements/button.rb
firewatir-1.9.0.rc1 lib/firewatir/elements/button.rb
firewatir-1.8.1 lib/firewatir/elements/button.rb
firewatir-1.8.1.rc1 lib/firewatir/elements/button.rb
firewatir-1.8.0 lib/firewatir/elements/button.rb
firewatir-1.8.0.rc1 lib/firewatir/elements/button.rb
firewatir-1.7.1 lib/firewatir/elements/button.rb
firewatir-1.7.0 lib/firewatir/elements/button.rb