weditor对app进行定位

1、pip install weditor

 注:若安装失败并提示安装包的问题、不是pip原因,需要更换制定weditor版本安装;

2、终端输入命令启动weditor:

     python -m weditor

3、命令执行成功后会自动调用浏览器打开地址http://localhost:17310/

  选择目标设备Android

  输入命令查看android设备UUID:adb devices

  在WEditor界面输入设备UUID

  点击Connect,连接成功

  点击dump hierarchy


 

posted on 2022-06-23 09:27  凌风子  阅读(197)  评论(0编辑  收藏  举报