Sha256: 7f50060906c8220e178fb51733576653d891f8571c906eb39d5fd7b409f67ed9

Contents?: true

Size: 258 Bytes

Versions: 1

Compression:

Stored size: 258 Bytes

Contents

module Watir
  module Locators
    class TextField
      class Validator < Element::Validator
        def validate(element, _selector)
          return unless element.tag_name.casecmp('input').zero?

          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/text_field/validator.rb