09 2020 档案

摘要:1、可能原因失去焦点 解决:默认selenium的点击操作是点元素0,0点坐标,那么我们可以在元素x,y坐标上加5,让点击操作往里一点。 from selenium.webdriver.common.action_chains import ActionChains ActionChains(sel 阅读全文
posted @ 2020-09-15 10:35 爱语默 阅读(1624) 评论(0) 推荐(0) 编辑
摘要:1、安装uiautomator2 pip install --pre -U uiautomator2 2、推送到手机。在手机上安装包名为`com.github.uiautomator`的apk初始化 python -m uiautomator2 init 3、安装weditor pip instal 阅读全文
posted @ 2020-09-04 14:41 爱语默 阅读(231) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示