Sha256: 2e87d01cbc420e854d573f3885898889a12611b118506b4e243832ee0ff5cd0c

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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