前置安装配置,包括如下:
1 | info AppiumDoctor ✔ The Node.js binary was found at: /usr/local/bin/node |
安装app-inspector
1 | npm install -g app-inspector |
获取设备UDID
1 | adb devices # android |
启动app-inspector
1 | app-inspector -u YOUR-DEVICE-ID |
启动成功
1 | ➜ ~ app-inspector -u 0862E662-79FE-4831-9EF7-D0D0D1055FFF |
浏览器查看结果如图:
ANDROID启动成功
1 | ➜ ~ app-inspector -u 127.0.0.1:62001 |
浏览器查看结果如图: