1.安装uiAutomator2
pip install -U uiautomator2
2.安装定位工具weditor
pip install weditor==0.6.4
3.校验安装结果
命令行运行:pip list | findstr weditor`
4.打开 weditor定位工具
命令行运行:python -m weditor
5.输入设备编号
adb devices

1.安装uiAutomator2
pip install -U uiautomator2
2.安装定位工具weditor
pip install weditor==0.6.4
3.校验安装结果
命令行运行:pip list | findstr weditor`
4.打开 weditor定位工具
命令行运行:python -m weditor
5.输入设备编号
adb devices