Sha256: 9f2af4504a411452d43658e58dc7659708be1e38c043ef5c3d4a43439748eaf6

Contents?: true

Size: 324 Bytes

Versions: 8

Compression:

Stored size: 324 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 + [:text, :value]
      end

    end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
druid-ts-1.2.2 lib/druid/elements/hidden_field.rb
druid-ts-1.2.1 lib/druid/elements/hidden_field.rb
druid-ts-1.2.0 lib/druid/elements/hidden_field.rb
druid-ts-1.1.8 lib/druid/elements/hidden_field.rb
druid-ts-1.1.7 lib/druid/elements/hidden_field.rb
druid-ts-1.1.6 lib/druid/elements/hidden_field.rb
druid-ts-1.1.5 lib/druid/elements/hidden_field.rb
druid-ts-1.1.4 lib/druid/elements/hidden_field.rb