Sha256: d93646ccca3efc057e13f6c3f898c70180f1142364205ed245e6edb48a93f185

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

module Druid
  module Elements
    class TextArea < Element

      def self.finders
        super + [:tag_name]
      end

      def self.mapping
        super.merge({:css => :tag_name})
      end

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

    end

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.1.1 lib/druid/elements/text_area.rb
druid-ts-1.1.0 lib/druid/elements/text_area.rb