摘要:
keycode相关方法 driver.press_keycode(4) #发送keycode,功能:按键 Uiautomator2使用keyevent事件报错 driver.keyevent(4) #发送keycode,功能:按键 与press_keycode无区别 Uiautomator2正常使用 阅读全文
摘要:
转载来自:https://blog.csdn.net/qq_22795513/article/details/53169593 代码就一句driver.keyevent()括号内填入的是物理按键的数字代号 代号表:电话键 KEYCODE_CALL 拨号键 5KEYCODE_ENDCALL 挂机键 6 阅读全文