Sha256: 3bd0532858c7a50ca4846c66b2e984643c77ea9e2d25cbec68778960e592b0db

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

module PageObject
  module Elements
    class TextArea < Element

      def initialize(element, platform)
        @element = element
        include_platform_for platform
      end

      def self.watir_finders
        super + [:label]
      end

      def self.selenium_finders
        super + [:label]
      end

    end

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

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
page-object-2.0.0 lib/page-object/elements/text_area.rb
page-object-1.2.2 lib/page-object/elements/text_area.rb
page-object-1.2.1 lib/page-object/elements/text_area.rb
page-object-1.2.0 lib/page-object/elements/text_area.rb