Sha256: 457b6773859b9963a7c51bf2ee6e940d4714c0a8d27987a3d70bb7f0b9635054

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 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

3 entries across 3 versions & 1 rubygems

Version Path
page-object-0.2.3 lib/page-object/elements/text_field.rb
page-object-0.2.2 lib/page-object/elements/text_field.rb
page-object-0.2.1 lib/page-object/elements/text_field.rb