Sha256: 11a95c9cad3074b32cfc9040d73817aa2b6d2412c64a289db15e930b79068372

Contents?: true

Size: 244 Bytes

Versions: 15

Compression:

Stored size: 244 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

15 entries across 15 versions & 1 rubygems

Version Path
watir-6.13.0 lib/watir/elements/input.rb
watir-6.12.0 lib/watir/elements/input.rb
watir-6.11.0 lib/watir/elements/input.rb
watir-6.11.0.beta2 lib/watir/elements/input.rb
watir-6.11.0.beta1 lib/watir/elements/input.rb
watir-6.10.3 lib/watir/elements/input.rb
watir-6.10.2 lib/watir/elements/input.rb
watir-6.10.0 lib/watir/elements/input.rb
watir-6.9.1 lib/watir/elements/input.rb
watir-6.9.0 lib/watir/elements/input.rb
watir-6.8.4 lib/watir/elements/input.rb
watir-6.8.3 lib/watir/elements/input.rb
watir-6.8.2 lib/watir/elements/input.rb
watir-6.8.1 lib/watir/elements/input.rb
watir-6.8.0 lib/watir/elements/input.rb