lib/watir/elements/input.rb in watir-6.13.0 vs lib/watir/elements/input.rb in watir-6.14.0
- old
+ new
@@ -1,15 +1,13 @@
module Watir
class Input < HTMLElement
-
#
# Returns label element associated with Input element.
#
# @return [Watir::Label]
#
def label
parent(tag_name: 'form').label(for: id)
end
-
end # Input
end # Watir