lib/watir/locators/element/validator.rb in watir-6.13.0 vs lib/watir/locators/element/validator.rb in watir-6.14.0

- old
+ new

@@ -5,10 +5,10 @@ def validate(element, selector) selector_tag_name = selector[:tag_name] element_tag_name = element.tag_name.downcase if selector_tag_name - return unless selector_tag_name === element_tag_name + return unless element_tag_name =~ /#{selector_tag_name}/ end element end end