Sha256: 2da993343a973609df9f8e65448711d985bd2b17730fa39fc081bea6816e94c8

Contents?: true

Size: 242 Bytes

Versions: 20

Compression:

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

20 entries across 20 versions & 1 rubygems

Version Path
watir-7.1.0 lib/watir/elements/input.rb
watir-7.0.0 lib/watir/elements/input.rb
watir-7.0.0.beta5 lib/watir/elements/input.rb
watir-7.0.0.beta4 lib/watir/elements/input.rb
watir-7.0.0.beta3 lib/watir/elements/input.rb
watir-7.0.0.beta2 lib/watir/elements/input.rb
watir-7.0.0.beta1 lib/watir/elements/input.rb
watir-6.19.1 lib/watir/elements/input.rb
watir-6.19.0 lib/watir/elements/input.rb
watir-6.18.0 lib/watir/elements/input.rb
watir-6.17.0 lib/watir/elements/input.rb
watir-6.16.5 lib/watir/elements/input.rb
watir-6.16.4 lib/watir/elements/input.rb
watir-6.16.3 lib/watir/elements/input.rb
watir-6.16.2 lib/watir/elements/input.rb
watir-6.16.1 lib/watir/elements/input.rb
watir-6.16.0 lib/watir/elements/input.rb
watir-6.15.1 lib/watir/elements/input.rb
watir-6.15.0 lib/watir/elements/input.rb
watir-6.14.0 lib/watir/elements/input.rb