Sha256: 755012fe77eb2bef712c7f8903553906525568cad3d660cc6c427622246a0b3a

Contents?: true

Size: 423 Bytes

Versions: 5

Compression:

Stored size: 423 Bytes

Contents

module PageObject
  module Elements
    class TextField < Element

      protected
      
      def self.watir_finders
        super + [:tag_name]
      end
      
      def self.watir_mapping
        super.merge({:css => :tag_name})
      end
      
      def self.selenium_finders
        super + [:css]
      end
      
      def self.selenium_mapping
        super.merge({:tag_name => :css})
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
page-object-0.2 lib/page-object/elements/text_field.rb
page-object-0.1.1 lib/page-object/elements/text_field.rb
page-object-0.1 lib/page-object/elements/text_field.rb
page-object-0.0.5 lib/page-object/elements/text_field.rb
page-object-0.0.4 lib/page-object/elements/text_field.rb