Sha256: ea87bab00e744d14ebc335dfa4a4ecd14567f946790ff64012259c9eedf177a0

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

module PageObject
  module Elements
    class TextField < Element

      protected
      
      def self.watir_finders
        super + [:tag_name, :text, :value]
      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

2 entries across 2 versions & 1 rubygems

Version Path
page-object-0.0.3 lib/page-object/elements/text_field.rb
page-object-0.0.2 lib/page-object/elements/text_field.rb