Sha256: d8c0b4c7ae4d358aa329dd333224bcfffce8bea415d6e12f6ea5ffa3f0fba89f

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-6.10.1 lib/watir/elements/input.rb