[英]How to click device back button using Selenium, android and C#
请尝试下面的代码
driver.pressKeyCode(AndroidKeyCode.BACK); // it will android device back button
如果您想使用android设备密钥执行任何其他操作,则可以使用相同的方法。您将在AndroidKeyCode中获取密钥。
希望这些对您有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.