Sha256: f8b664398e98826ab66cf74a2b46316e799ddff46bc5ac0def7740513a4d4478
Contents?: true
Size: 523 Bytes
Versions: 7
Compression:
Stored size: 523 Bytes
Contents
module Watir class Hidden < Input def visible? false end def click raise ObjectDisabledException, 'click is not available on the hidden field element' end end module Container def hidden(opts = {}) Hidden.new(self, opts.merge(tag_name: 'input', type: 'hidden')) end def hiddens(opts = {}) HiddenCollection.new(self, opts.merge(tag_name: 'input', type: 'hidden')) end end # Container class HiddenCollection < InputCollection end # HiddenCollection end
Version data entries
7 entries across 7 versions & 1 rubygems