Sha256: e09c6a4100fadc6f0ddee4b840170c262b48b35b3c23e353872e71d5a9a0698b
Contents?: true
Size: 709 Bytes
Versions: 3
Compression:
Stored size: 709 Bytes
Contents
module Symbiont module WebObjects class TextField < WebObject def initialize(web_object) @web_object = web_object end def value web_object.value end def value=(value) web_object.set value end def append(text) web_object.send_keys text end def self.usable_selectors super + [:title, :value, :text, :label] end end # class: TextField ::Symbiont::WebObjects.class_for_type[:text] = ::Symbiont::WebObjects::TextField ::Symbiont::WebObjects.class_for_type[:password] = ::Symbiont::WebObjects::TextField end # module: WebObjects end # module: Symbiont
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
symbiont-0.2.1 | lib/symbiont/web_objects/text_field.rb |
symbiont-0.2.0 | lib/symbiont/web_objects/text_field.rb |
symbiont-0.1.9 | lib/symbiont/web_objects/text_field.rb |