04 2021 档案

摘要:keycode相关方法 driver.press_keycode(4) #发送keycode,功能:按键 Uiautomator2使用keyevent事件报错 driver.keyevent(4) #发送keycode,功能:按键 与press_keycode无区别 Uiautomator2正常使用 阅读全文
posted @ 2021-04-29 11:14 阳光美美哒 阅读(94) 评论(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)
摘要:转载:https://www.cnblogs.com/huny/p/14079320.html 3.使用一个demo测试网站:https://www.websocket.org/echo.html 进行演示。 import json from websocket import create_conn 阅读全文
posted @ 2021-04-21 15:11 阳光美美哒 阅读(819) 评论(0) 推荐(0)
摘要:先科普一下 mac 一般使用bash作为默认shell Mac系统的环境变量,加载顺序为:/etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc当然/etc/profile和/etc/paths是系统级别的 阅读全文
posted @ 2021-04-15 21:31 阳光美美哒 阅读(344) 评论(0) 推荐(0)
摘要:source ~/.zshrc[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found 参考https://github.com/ohmyzsh/ohmyzsh/issues/7688 I solve it by the command : ''' 阅读全文
posted @ 2021-04-15 21:27 阳光美美哒 阅读(4846) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/swordgirl2011/article/details/50918665 阅读全文
posted @ 2021-04-14 14:39 阳光美美哒 阅读(43) 评论(0) 推荐(0)
摘要:打开终端terminal cd ~open -e .bash_profile 在弹出的文件编辑窗口中,加入 export PATH=${PATH}:~/Library/Android/sdk/tools/bin 备注:/Users/用户名/Library/Android/sdk 安装路径 如果需要在 阅读全文
posted @ 2021-04-11 17:16 阳光美美哒 阅读(1128) 评论(0) 推荐(0)
摘要:~/Desktop/softwareinstall/android_sdk_macosx/tools  ./uiautomatorviewer 03:56:07 E/Screenshot: Unsupported protocol: 2 Unexpected error while obtaini 阅读全文
posted @ 2021-04-11 09:52 阳光美美哒 阅读(1474) 评论(0) 推荐(0)