lib/watir/locators/text_field/selector_builder/xpath.rb in watir-6.15.0 vs lib/watir/locators/text_field/selector_builder/xpath.rb in watir-6.15.1

- old
+ new

@@ -4,10 +4,10 @@ class SelectorBuilder class XPath < Element::SelectorBuilder::XPath def text_string return super if @adjacent - @requires_matches[:text] = @selector.delete(:text) if @selector.key?(:text) + @built[:text] = @selector.delete(:text) if @selector.key?(:text) '' end def additional_string return '' if @adjacent