diff --git a/src/marionette/element.cr b/src/marionette/element.cr index 108e728..f974f25 100644 --- a/src/marionette/element.cr +++ b/src/marionette/element.cr @@ -157,7 +157,7 @@ module Marionette def send_keys(*keys) text = keys.map { |k| k.is_a?(Key) ? k.value.chr : k }.join - execute("SendKeysToElement", {"$text" => text}) + execute("SendKeysToElement", {"text" => text}) end def clear