Sha256: ed371e04d5db2a64da2d3e66e2cd307d4bf0fb076699b6696ec103d9a7fdb063

Contents?: true

Size: 379 Bytes

Versions: 2

Compression:

Stored size: 379 Bytes

Contents

module PageObject
  module Elements
    class TextArea < Element

      #
      # Set the value of the TextArea
      #
      def value=(new_value)
        element.set(new_value)
      end

      protected

      def self.watir_finders
        super + [:label]
      end

    end

    ::PageObject::Elements.tag_to_class[:textarea] = ::PageObject::Elements::TextArea

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
page-object-2.1.1 lib/page-object/elements/text_area.rb
page-object-2.1 lib/page-object/elements/text_area.rb