Sha256: c9c5738cc42fd7fa4b3b446fa0526cdee8914277eafc22dbc9739ef2ac1bc7eb
Contents?: true
Size: 551 Bytes
Versions: 12
Compression:
Stored size: 551 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(*args) Hidden.new(self, extract_selector(args).merge(tag_name: 'input', type: 'hidden')) end def hiddens(*args) HiddenCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'hidden')) end end # Container class HiddenCollection < InputCollection end # HiddenCollection end
Version data entries
12 entries across 12 versions & 1 rubygems