1.
安裝adb(安裝方法——百度網盤(無邪))
2.
安裝python-uiautomator2
pip install --pre -U uiautomator2
3.
手機設備安裝atx-agent
首先設備連接到PC,並能夠adb devices
發現該設備
輸入python -m uiautomator2 init
4..終端中輸入 pip install weditor安裝weditor
5.終端中輸入python -m weditor啟動weditor
4.在輸入框中輸入設備號,開啟實時(定位時,需要關閉實時。才能定位元素准確),點擊connect
推薦好文,收藏,此鏈接為轉發的https://testerhome.com/topics/11357?locale=en