WEditor(元素定位工具)安裝和定位界面元素


 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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM