Sha256: 50929dc27691db582ea11661093f5f8e2e084c83798bb06d37703c527bff2b63
Contents?: true
Size: 488 Bytes
Versions: 6
Compression:
Stored size: 488 Bytes
Contents
module Druid module Elements class TextField < Element def self.finders super + [:text, :title, :label] 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
6 entries across 6 versions & 1 rubygems