ui.hold_read
Reads tooltips or hover hints by long-pressing an element on an Android device, capturing text that appears only while held. Uses accessibility tree or OCR to compare screen changes.
Instructions
长按读悬浮提示(hover/tooltip):后台线程长按目标,按住期间读屏对比,返回新出现的提示文本。适合悬浮说明、图标长按菜单等按住才显示的提示。ocr=false 只比 a11y 树(快,~1s,普通 app 用);ocr=true 加 OCR 对比(~6s,canvas/自绘界面用)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| ocr | No | ||
| pkg | No | ||
| handle | No | 快照句柄(与 selector/x,y 三选一) | |
| hold_ms | No | ||
| selector | No |