Sha256: 7e080c83f7a6bbf4c0080a0e522f1a669b5b2fcc644497948bfa2b120488a69e

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

module Druid
  module Elements
    class HiddenField < Element

      def click
        raise "click is not available on hidden field element with watir"
      end

      def self.finders
        super + [:tag_name, :text, :value]
      end

      def self.mapping
        super.merge({:css => :tag_name})
      end

    end

    Druid::Elements.type_to_class[:hidden] = Druid::Elements::HiddenField
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
druid-ts-1.1.3 lib/druid/elements/hidden_field.rb
druid-ts-1.1.2 lib/druid/elements/hidden_field.rb
druid-ts-1.1.1 lib/druid/elements/hidden_field.rb
druid-ts-1.1.0 lib/druid/elements/hidden_field.rb