Skip to main content

uiautodev

codecov PyPI version

https://web.uiauto.dev

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
  -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

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

LICENSE

MIT

Metadata

Release files for uiautodev 0.14.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uiautodev 0.14.1
File Size Uploaded
uiautodev-0.14.1.tar.gz 3.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for uiautodev 0.14.1
File Interpreter ABI Platform
uiautodev-0.14.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 MB

Release files / uiautodev-0.14.1.tar.gz

Download URL uiautodev-0.14.1.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
10da109245355cc3314cae19926a982ea45c98903bd7bdd8a3cd3763e6f39b46
BLAKE2b-256 checksum
How to use checksums
937badafb59df860abdd46aa97163c35290521a0e36830593702bbaa2495a66f
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.14.1-py3-none-any.whl

Download URL uiautodev-0.14.1-py3-none-any.whl
Size 3.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
285416b4559cd53afc6f96aca470200d0619a2c28cee35cecd1327f8d4e1440f
BLAKE2b-256 checksum
How to use checksums
20cd807ce429022c675e381d92f36c19a0f68f84d7755b850a4ff8640d2890df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.14.1 This release

2 release files

0.14.0

2 release files

0.13.5

2 release files

0.13.4

2 release files

0.13.1

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.1

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page