0

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

How can I replace it?

lony
  • 6,733
  • 11
  • 60
  • 92

1 Answers1

1

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

Community
  • 1
  • 1
Lasse
  • 1,153
  • 1
  • 10
  • 21