【发布时间】:2015-06-10 18:30:54
【问题描述】:
perform_action('send_key_enter') 作为this list 中的其他命令已被弃用。
我该如何替换它?
【问题讨论】:
perform_action('send_key_enter') 作为this list 中的其他命令已被弃用。
我该如何替换它?
【问题讨论】:
这可以通过 ADB 命令来完成。
system("#{default_device.adb_command} shell input keyevent KEYCODE_ENTER")
您可以在与https://stackoverflow.com/a/25089630/1165581 by lux 类似的问题中看到此回复
【讨论】: