Calabash 'send_key_enter' is deprecated, how to replace it?

127 views Asked by At

The perform_action('send_key_enter') is deprecated as other commands in this list.

How can I replace it?

1

There are 1 answers

0
Lasse On BEST ANSWER

This is can be done with ADB commands.

system("#{default_device.adb_command} shell input keyevent KEYCODE_ENTER")

You can see this reply in a question similar to this https://stackoverflow.com/a/25089630/1165581 by lux