lib/watir/elements/hidden.rb in watir-6.13.0 vs lib/watir/elements/hidden.rb in watir-6.14.0
- old
+ new
@@ -3,21 +3,20 @@
def visible?
false
end
def click
- raise Watir::Exception::ObjectDisabledException, "click is not available on the hidden field element"
+ raise Watir::Exception::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"))
+ 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"))
+ HiddenCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'hidden'))
end
end # Container
class HiddenCollection < InputCollection
end # HiddenCollection