安装并使用Python-uiautomator2

一、安装adb

二、安装python-uiautomator2

    命令行:pip install --pre -U uiautomator2

三、在设备上安装atx-agent

    命令行:python -m uiautomator2 init

    注意打开设备,允许uiautomator.apk的安装

    提示success,说明atx-angent初始化成功

猜你喜欢

转载自blog.csdn.net/plychoz/article/details/80231550