app - uiautodev 获得移动端元素
访问量: 16
refer to: https://uiauto2.devsleep.com/
https://www.cnblogs.com/malinyan/p/19461707
pip3 install -U uiautodev
pydantic-core, markdown-it-py, httpcore, Deprecated, wdapy, rich, pydantic, httpx, fastapi, uiautodev
━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1/26 [websockets] WARNING: The script websockets.exe is installed in 'C:\Users\shens\AppData\Local\Python\pythoncore-3.14-64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
━━━━━━╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4/26 [pygments] WARNING: The script pygmentize.exe is installed in 'C:\Users\shens\AppData\Local\Python\pythoncore-3.14-64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━━━━━━━ 12/26 [uvicorn] WARNING: The script uvicorn.exe is installed in 'C:\Users\shens\AppData\Local\Python\pythoncore-3.14-64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━ 17/26 [markdown-it-py] WARNING: The script markdown-it.exe is installed in 'C:\Users\shens\AppData\Local\Python\pythoncore-3.14-64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━ 23/26 [httpx] WARNING: The script httpx.exe is installed in 'C:\Users\shens\AppData\Local\Python\pythoncore-3.14-64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸━━━ 24/26 [fastapi] WARNING: The script fastapi.exe is installed in 'C:\Users\shens\AppData\Local\Python\pythoncore-3.14-64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺━ 25/26 [uiautodev] WARNING: The scripts uiauto.dev.exe and uiautodev.exe are installed in 'C:\Users\shens\AppData\Local\Python\pythoncore-3.14-64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
可以把上面的exe 路径放到 PATH中。
uiauto.dev
PS C:\trojan> uiauto.dev.exe
uiautodev version: 0.14.0
INFO: Started server process [23396]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:20242 (Press CTRL+C to quit)
INFO: 127.0.0.1:54637 - "GET /api/info HTTP/1.1" 200 OK
[07/26/26 14:46:59] INFO open browser: https://uiauto.dev
然后,打开这个:https://uiauto2.devsleep.com/

随便找一个设备:
