Sha256: 26cd4de162427e343f69628a6a94773e6cef808cfc898c0c9e5f8354daf8deab
Contents?: true
Size: 662 Bytes
Versions: 5
Compression:
Stored size: 662 Bytes
Contents
module Symbiont module WebObjects class TextField < WebObject # Get the value of a text field. def value @web_object.value end # Set the value of a text field. def value=(value) @web_object.set value end # Append text to a text field. def append(text) @web_object.send_keys text 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
5 entries across 5 versions & 1 rubygems