Sha256: 9a2ddc9ab8d4042c697351cd6a56717cb46e9cb4fec5b5a4c04d72934bf6808f
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
module Druid module Elements class TextField < Element def self.finders super + [:css, :tag_name, :text, :title] end # # Set the value of the TextField # def value=(new_value) element.set(new_value) end end Druid::Elements.type_to_class[:text] = Druid::Elements::TextField Druid::Elements.type_to_class[:password] = Druid::Elements::TextField end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.1.1 | lib/druid/elements/text_field.rb |
druid-ts-1.1.0 | lib/druid/elements/text_field.rb |