uiautodev
In China visit: https://uiauto.devsleep.com
UI Inspector for Android, iOS and Harmony help inspector element properties, and auto generate XPath, script.
Install
pip install uiautodev
# or with Harmony support
pip install "uiautodev[harmony]"
# ref
# https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/hypium-python-guidelines
Usage
Usage: uiauto.dev [OPTIONS] COMMAND [ARGS]...
Options:
-v, --verbose verbose mode
--debug enable debug output
--version TEXT server binary version (default: latest)
-f, --force force re-download even if cached
-h, --help Show this message and exit.
Commands:
run download (if needed) and run the server binary [Default]
download download the server binary only and print its path
path print the path to the server binary without downloading
server start uiauto.dev local server (deprecated)
self-update Update uiautodev to latest version
version Print version
shutdown Shutdown server (deprecated)
# download the latest server binary and run it (opens the browser)
uiauto.dev
# start the local Python server instead (deprecated, old default)
uiauto.dev server
Run prebuilt server binary
Running uiauto.dev without a command downloads the prebuilt server binary for
the current platform and executes it as run -open. The binary is cached at
~/.cache/uiautodev/<version>/ (override with UIAUTODEV_CACHE_DIR), and
everything after run is passed through to the binary as-is.
Note: the old local-server default is now the explicit
uiauto.dev servercommand.
uiauto.dev # download latest binary and run it (open browser)
uiauto.dev run # same as above, without opening the browser
uiauto.dev run -addr :8000 # pass args through to the binary
uiauto.dev --version 0.10.5 run # use a specific version
uiauto.dev download # only download, print the binary path
uiauto.dev download --force # force re-download
uiauto.dev path # only print the binary path, no download
uiauto.dev --debug download # debug logging (request/redirect info)
Environment
# Default driver is uiautomator2
# Set the environment variable below to switch to adb driver
export UIAUTODEV_USE_ADB_DRIVER=1
Offline mode
Start with
uiautodev server --offline
# Specify server url (optional)
uiautodev server --offline --server-url https://web.uiauto.dev
Visit http://localhost:20242 once, and then disconnecting from the internet will not affect usage.
All frontend resources will be saved to cache/ dir.
DEVELOP
see DEVELOP.md
Links
- https://app.tangoapp.dev/ 基于webadb的手机远程控制项目
- https://docs.tangoapp.dev/scrcpy/video/web-codecs/ H264解码器
LICENSE
Metadata
Release files for uiautodev 0.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uiautodev-0.15.0.tar.gz | 3.8 MB | Without provenance | Details for uiautodev-0.15.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uiautodev-0.15.0-py3-none-any.whl | Python 3 | none | any | Details for uiautodev-0.15.0-py3-none-any.whl |
Total release size: 7.7 MB
Release files / uiautodev-0.15.0.tar.gz
| Download URL | uiautodev-0.15.0.tar.gz |
|---|---|
| Size | 3.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22aa2cb441fdb3ae520501a547cb1f200f2de7fbc9cf981a7cb1e17e4b9bd5ee
|
|
BLAKE2b-256 checksum How to use checksums |
7222d104f90557e49d52ba5eb118d03aefa6c35565643979b79946f5b9acc2ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / uiautodev-0.15.0-py3-none-any.whl
| Download URL | uiautodev-0.15.0-py3-none-any.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
119889d958af4e211ac4bb6f53776cb560deedf3d0c3ab4a67a32e4b651e9d19
|
|
BLAKE2b-256 checksum How to use checksums |
36548590c9abb89a131d0721ec3b5828286eb7249cdddca8f8afbf2b8ca22419
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for uiautodev 0.15.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.