摘要:
keycode相关方法 driver.press_keycode(4) #发送keycode,功能:按键 Uiautomator2使用keyevent事件报错 driver.keyevent(4) #发送keycode,功能:按键 与press_keycode无区别 Uiautomator2正常使用 阅读全文
posted @ 2021-04-29 11:14
阳光美美哒
阅读(96)
评论(0)
推荐(0)
摘要:
转载来自:https://blog.csdn.net/qq_22795513/article/details/53169593 代码就一句driver.keyevent()括号内填入的是物理按键的数字代号 代号表:电话键 KEYCODE_CALL 拨号键 5KEYCODE_ENDCALL 挂机键 6 阅读全文
posted @ 2021-04-29 11:01
阳光美美哒
阅读(262)
评论(0)
推荐(0)
浙公网安备 33010602011771号