uiautomator2
# 由于uiautomator2仍在开发中,因此您必须添加‘--pre’才能安装开发版本。
pip install --pre uiautomator2
# 也可以从源代码安装
git clone https://github.com/openatx/uiautomator2
pip install -e uiautomator2
#使用此模块可查看手机xml
python -m weditor
uiautomator2
# 由于uiautomator2仍在开发中,因此您必须添加‘--pre’才能安装开发版本。
pip install --pre uiautomator2
# 也可以从源代码安装
git clone https://github.com/openatx/uiautomator2
pip install -e uiautomator2
#使用此模块可查看手机xml
python -m weditor