Sha256: 9e61f65944d1f5c9281489493fbaa8694d40a8e40b95dddf8112af7da860c6ad
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
module PageObject module Elements class FileField < Element # # Set the value of the FileField # def value=(new_value) element.set(new_value) end protected def self.watir_finders super + [:title, :label] end end ::PageObject::Elements.type_to_class[:file] = ::PageObject::Elements::FileField end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
page-object-2.1.1 | lib/page-object/elements/file_field.rb |
page-object-2.1 | lib/page-object/elements/file_field.rb |