# encoding: utf-8 module Watir class Hidden < Input def visible? false 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 def element_class Hidden end end # HiddenCollection end