Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mobile UI viewer in browser, view the UI in a tree view, and generate XPath automatically.

License

Notifications You must be signed in to change notification settings

codeskyblue/uiautodev

Repository files navigation

uiautodev

codecov PyPI version

https://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://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

About

Mobile UI viewer in browser, view the UI in a tree view, and generate XPath automatically.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

AltStyle によって変換されたページ (->オリジナル) /