Skip to content

Add handsets - #423

Open
elliotgao2 wants to merge 1 commit into
JStumpp:masterfrom
elliotgao2:add-handsets
Open

Add handsets#423
elliotgao2 wants to merge 1 commit into
JStumpp:masterfrom
elliotgao2:add-handsets

Conversation

@elliotgao2

Copy link
Copy Markdown

Adds handsets to the Debugging Tools section.

handsets is a high-performance Android control CLI in the same neighbourhood as the existing ADB / ADB Enhanced / Pidcat entries — it drives Android over adb forward from a host shell, no APK and no root required. The on-device daemon is a single jar (~few hundred KB) that runs under shell UID via app_process.

Why include it:

  • Sub-7 ms wire-level latency per call (hs bench), with node_click defaulting to AccessibilityNodeInfo.ACTION_CLICK to bypass the Android InputDispatcher.
  • hs ui outputs a flat verb-led table instead of an XML dump, which makes it readable both for humans grepping a screen and for LLM agents driving the device.
  • CSS-like + Playwright-flavoured selectors (:has-text, :below, :near, …) for label-based lookups.
  • Python bindings via pip install handsets.

License: MIT. Documentation at https://elliotgao2.github.io/handsets/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant