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