当我试图按home按钮时,我对关键事件有问题。
窃听器在哪里?
driver.execute_script("mobile: keyevent", {"keycode": 3})我用蟒和appium。
发布于 2014-02-09 15:37:47
解决这个问题的办法是额外的空间。代码应该如下所示:
driver.execute_script("mobile: keyevent",{ "keycode": 3 })https://stackoverflow.com/questions/21649080
复制相似问题