uiautodev


Nameuiautodev JSON
Version 0.13.0 PyPI version JSON
download
home_pageNone
SummaryMobile UI Automation, include UI hierarchy inspector, script recorder
upload_time2025-10-22 11:26:25
maintainerNone
docs_urlNone
authorcodeskyblue
requires_python<4.0,>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # uiautodev
[![codecov](https://codecov.io/gh/codeskyblue/appinspector/graph/badge.svg?token=aLTg4VOyQH)](https://codecov.io/gh/codeskyblue/appinspector)
[![PyPI version](https://badge.fury.io/py/uiautodev.svg)](https://badge.fury.io/py/uiautodev)

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
```bash
pip install uiautodev
```

To enable Harmony support, run the following command to install its dependencies:

```sh
uiautodev install-harmony
```

# Usage
```bash
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
```

```bash
# run local server and open browser
uiauto.dev
```

# Environment

```sh
# Default driver is uiautomator2
# Set the environment variable below to switch to adb driver
export UIAUTODEV_USE_ADB_DRIVER=1

# Set the env to enable DEBUG log
export UIAUTODEV_DEBUG=1
```

# Offline mode

Currently, the frontend is deployed on a separate server, so internet connection is required.
However, some users have limited network environments or restricted internet access. Therefore, an offline cache mode has been added.
Create a `cache` directory in the directory where uiautodev starts to activate frontend caching.

```sh
mkdir cache
uiautodev
```

Visit <http://localhost:20242> once, and then disconnecting from the internet will not affect usage.

# DEVELOP

see [DEVELOP.md](DEVELOP.md)

# Links
- https://app.tangoapp.dev/ 基于webadb的手机远程控制项目
- https://docs.tangoapp.dev/scrcpy/video/web-codecs/ H264解码器

# LICENSE
[MIT](LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "uiautodev",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "codeskyblue",
    "author_email": "codeskyblue@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b7/ec/e497039567b87663b318ba98dc362bd99a0c2a38ecc39fc18f5d7a01dd1c/uiautodev-0.13.0.tar.gz",
    "platform": null,
    "description": "# uiautodev\n[![codecov](https://codecov.io/gh/codeskyblue/appinspector/graph/badge.svg?token=aLTg4VOyQH)](https://codecov.io/gh/codeskyblue/appinspector)\n[![PyPI version](https://badge.fury.io/py/uiautodev.svg)](https://badge.fury.io/py/uiautodev)\n\nhttps://uiauto.dev\n\n> ~~In China visit: https://uiauto.devsleep.com~~\n\nUI Inspector for Android, iOS and Harmony help inspector element properties, and auto generate XPath, script.\n\n# Install\n```bash\npip install uiautodev\n```\n\nTo enable Harmony support, run the following command to install its dependencies:\n\n```sh\nuiautodev install-harmony\n```\n\n# Usage\n```bash\nUsage: uiauto.dev [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  -v, --verbose  verbose mode\n  -h, --help     Show this message and exit.\n\nCommands:\n  server       start uiauto.dev local server [Default]\n  android      COMMAND: tap, tapElement, installApp, currentApp,...\n  ios          COMMAND: tap, tapElement, installApp, currentApp,...\n  self-update  Update uiautodev to latest version\n  version      Print version\n  shutdown     Shutdown server\n```\n\n```bash\n# run local server and open browser\nuiauto.dev\n```\n\n# Environment\n\n```sh\n# Default driver is uiautomator2\n# Set the environment variable below to switch to adb driver\nexport UIAUTODEV_USE_ADB_DRIVER=1\n\n# Set the env to enable DEBUG log\nexport UIAUTODEV_DEBUG=1\n```\n\n# Offline mode\n\nCurrently, the frontend is deployed on a separate server, so internet connection is required.\nHowever, some users have limited network environments or restricted internet access. Therefore, an offline cache mode has been added.\nCreate a `cache` directory in the directory where uiautodev starts to activate frontend caching.\n\n```sh\nmkdir cache\nuiautodev\n```\n\nVisit <http://localhost:20242> once, and then disconnecting from the internet will not affect usage.\n\n# DEVELOP\n\nsee [DEVELOP.md](DEVELOP.md)\n\n# Links\n- https://app.tangoapp.dev/ \u57fa\u4e8ewebadb\u7684\u624b\u673a\u8fdc\u7a0b\u63a7\u5236\u9879\u76ee\n- https://docs.tangoapp.dev/scrcpy/video/web-codecs/ H264\u89e3\u7801\u5668\n\n# LICENSE\n[MIT](LICENSE)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Mobile UI Automation, include UI hierarchy inspector, script recorder",
    "version": "0.13.0",
    "project_urls": {
        "Homepage": "https://uiauto.dev"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b5ee108751ab65099dd2296135a12e89f3e1177a3a368ff3c0bcbb3a47253a28",
                "md5": "ee6133af91d595eb00c5676f9b36471f",
                "sha256": "6c63342da3993bcc7cf84ba819d4a115a2470190117023d794a25bfe3b3c4829"
            },
            "downloads": -1,
            "filename": "uiautodev-0.13.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ee6133af91d595eb00c5676f9b36471f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 3739987,
            "upload_time": "2025-10-22T11:26:24",
            "upload_time_iso_8601": "2025-10-22T11:26:24.112666Z",
            "url": "https://files.pythonhosted.org/packages/b5/ee/108751ab65099dd2296135a12e89f3e1177a3a368ff3c0bcbb3a47253a28/uiautodev-0.13.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b7ece497039567b87663b318ba98dc362bd99a0c2a38ecc39fc18f5d7a01dd1c",
                "md5": "8fff7d98ca15a9c2290f01f7dbeb7715",
                "sha256": "85c03287e2215bd3c2eb102e71ed25c9222a843cab6dbcf4f7469ee9c6782b94"
            },
            "downloads": -1,
            "filename": "uiautodev-0.13.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8fff7d98ca15a9c2290f01f7dbeb7715",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 3728013,
            "upload_time": "2025-10-22T11:26:25",
            "upload_time_iso_8601": "2025-10-22T11:26:25.351731Z",
            "url": "https://files.pythonhosted.org/packages/b7/ec/e497039567b87663b318ba98dc362bd99a0c2a38ecc39fc18f5d7a01dd1c/uiautodev-0.13.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-22 11:26:25",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "uiautodev"
}
        
Elapsed time: 4.55055s