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 

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

4.在输入框中输入设备号,开启实时(定位时,需要关闭实时。才能定位元素准确),点击connect

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

 

推荐好文,收藏,此链接为转发的https://testerhome.com/topics/11357?locale=en

 

相关文章:

  • 2022-12-23
  • 2021-10-13
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2021-08-05
  • 2021-05-19
  • 2022-12-23
相关资源
相似解决方案