In China visit: https://uiauto.devsleep.com
UI Inspector for Android, iOS and Harmony help inspector element properties, and auto generate XPath, script.
pip install uiautodev
# or with Harmony support
pip install "uiautodev[harmony]"
# ref
# https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/hypium-python-guidelinesUsage: uiauto.dev [OPTIONS] COMMAND [ARGS]...
Options:
-v, --verbose verbose mode
-h, --help Show this message and exit.
Commands:
server start uiauto.dev local server [Default]
android COMMAND: tap, tapElement, installApp, currentApp,...
ios COMMAND: tap, tapElement, installApp, currentApp,...
self-update Update uiautodev to latest version
version Print version
shutdown Shutdown server# run local server and open browser
uiauto.dev# Default driver is uiautomator2
# Set the environment variable below to switch to adb driver
export UIAUTODEV_USE_ADB_DRIVER=1Start with
uiautodev server --offline
# Specify server url (optional)
uiautodev server --offline --server-url https://uiauto.devVisit http://localhost:20242 once, and then disconnecting from the internet will not affect usage.
All frontend resources will be saved to cache/ dir.
see DEVELOP.md
- https://app.tangoapp.dev/ 基于webadb的手机远程控制项目
- https://docs.tangoapp.dev/scrcpy/video/web-codecs/ H264解码器