Sha256: bc7c25c283d22cdbf5c7159043c381fac803561317a9b739720f2b8ebad08d4e

Contents?: true

Size: 469 Bytes

Versions: 4

Compression:

Stored size: 469 Bytes

Contents

# frozen_string_literal: true

module Watir
  module Locators
    class TextArea
      class SelectorBuilder
        class XPath < Element::SelectorBuilder::XPath
          private

          # value always requires a wire call since we want the property not the attribute
          def process_attribute(key, value)
            return super unless key == :value

            @built[:value] = value
            nil
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
watir-7.3.0 lib/watir/locators/text_area/selector_builder/xpath.rb
watir-7.2.2 lib/watir/locators/text_area/selector_builder/xpath.rb
watir-7.2.1 lib/watir/locators/text_area/selector_builder/xpath.rb
watir-7.2.0 lib/watir/locators/text_area/selector_builder/xpath.rb