04 2021 档案
摘要: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
阅读全文
摘要:转载:https://www.cnblogs.com/huny/p/14079320.html 3.使用一个demo测试网站:https://www.websocket.org/echo.html 进行演示。 import json from websocket import create_conn
阅读全文
摘要:先科普一下 mac 一般使用bash作为默认shell Mac系统的环境变量,加载顺序为:/etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc当然/etc/profile和/etc/paths是系统级别的
阅读全文
摘要:source ~/.zshrc[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found 参考https://github.com/ohmyzsh/ohmyzsh/issues/7688 I solve it by the command : '''
阅读全文
摘要:https://blog.csdn.net/swordgirl2011/article/details/50918665
阅读全文
摘要:打开终端terminal cd ~open -e .bash_profile 在弹出的文件编辑窗口中,加入 export PATH=${PATH}:~/Library/Android/sdk/tools/bin 备注:/Users/用户名/Library/Android/sdk 安装路径 如果需要在
阅读全文
摘要:~/Desktop/softwareinstall/android_sdk_macosx/tools ./uiautomatorviewer 03:56:07 E/Screenshot: Unsupported protocol: 2 Unexpected error while obtaini
阅读全文