Sha256: e9807cf2904b80181a03a628cd15b4d8dc87bc72135fc42c799897f070ea9c58
Contents?: true
Size: 497 Bytes
Versions: 2
Compression:
Stored size: 497 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 def append text element.send_keys text 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.3 | lib/druid/elements/text_field.rb |
druid-ts-1.1.2 | lib/druid/elements/text_field.rb |