0

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

How can I replace it?

lony
  • 5,917
  • 8
  • 55
  • 79

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,155
  • 1
  • 10
  • 19