Sha256: 1346a2d0dd89e1efddd4f16dab60b3e3bf45fd16310592b1da981dd998402458

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

module PageObject
  module Elements
    class SelectList < Element

      def self.watir_identifier_for identifier
        identifier_for identifier, watir_finders, watir_mapping
      end

      def self.selenium_identifier_for identifier
        identifier = identifier_for identifier, selenium_finders, selenium_mapping
        return identifier.keys.first, identifier.values.first
      end
      
      protected
      
      def self.watir_finders
        super + [:text, :value]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.0.1 lib/page-object/elements/select_list.rb