# openatx/uiautomator2

Android Uiautomator2 Python Wrapper

Repository: https://github.com/openatx/uiautomator2
Canonical: https://ross.abutalabs.com/products/uiautomator2
Language: Python
License: MIT
License Family: permissive
Topics: python, uiautomator, test
Last push: 2026-08-07T02:36:26+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 96, release rhythm 90, longevity 100
- inputs: {"age_days": 3272, "days_push": 27, "days_rel": 68, "gap_med": 14, "n_releases_24m": 20}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8309, forks 1593 (observed 2026-08-28T04:10:20.251542+00:00)

## What it is
A Python library that wraps Android's UiAutomator framework, exposing device automation capabilities over HTTP so scripts can control Android phones from Python. It supports app launching, element lookup via XPath, clicking, and reading UI text on devices running Android 4.4+.

## Use cases
- automate android ui tests from python
- click elements on an android phone programmatically
- scrape text from android app screens
- run e2e tests on real android devices
- control android device over adb with python
- automate android app interactions without appium

## When to choose
- you want simple Python scripting of Android UI automation on real devices
- you find Appium too heavyweight for your test or automation needs
- you need XPath-based element lookup and device info on Android 4.4+

## When to avoid
- you need to automate iOS or cross-platform mobile apps
- you require the full WebDriver protocol or Appium ecosystem tooling
- your target device runs Android older than 4.4

## Facets
- artifact type: library
- maturity: active
- function: testing, e2e-testing, workflow-automation
- domain: mobile-development, testing
- platform: python, cli
- tags: android-automation, uiautomator, appium-alternative, ui-testing, adb, automation, android

## Member repositories
- openatx/uiautomator2 (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:20.251542+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:28:03.889028+00:00, confidence not recorded.
  - readme: https://github.com/openatx/uiautomator2 (fetched 2026-08-28T04:10:20.251542+00:00, sha d7ee8d9cced8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
