lib/druid/elements/text_field.rb in druid-ts-1.1.1 vs lib/druid/elements/text_field.rb in druid-ts-1.1.2
- old
+ new
@@ -10,9 +10,13 @@
# 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