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.7.0.rc1 lib/firewatir/elements/button.rb
firewatir-1.6.7 lib/firewatir/elements/button.rb
firewatir-1.6.7.rc1 lib/firewatir/elements/button.rb
firewatir-1.6.6 lib/firewatir/elements/button.rb
firewatir-1.6.6.rc2 lib/firewatir/elements/button.rb
firewatir-1.6.6.rc1 lib/firewatir/elements/button.rb