Sha256: fc76b0e6a7f45974271135e919a416bbf9ada610112a6b215c95deec38c8d5af

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

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 predicate_conversion(key, regexp)
            return super unless key == :value

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-6.15.1 lib/watir/locators/text_area/selector_builder/xpath.rb