Sha256: 5054ff26b6384a4363caa53a82898892efa91f0c45cba836e2d993e4c3b0aaca
Contents?: true
Size: 390 Bytes
Versions: 1
Compression:
Stored size: 390 Bytes
Contents
module Watir module Locators class Element class Validator def validate(element, selector) selector_tag_name = selector[:tag_name] element_tag_name = element.tag_name.downcase if selector_tag_name return unless element_tag_name =~ /#{selector_tag_name}/ end element end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-6.14.0 | lib/watir/locators/element/validator.rb |