uiautomator

github官方文档:https://github.com/openatx/uiautomator2/blob/master/README_CN.md

1.pip3 install -U uiautomator2 安装uiautomator2
2.python3 -m uiautomator2 init安装包含httprpc服务的apk到手机
3.安装元素查看器UI Inspector:

 

pip install uiautodev
# 启动
uiauto.dev

web端Inspector元素查看器界面:

 



posted @ 2021-11-27 14:40  没醉  阅读(238)  评论(0)    收藏  举报