Skip to main content

mobium double-tap

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Tap an element or a point twice, as one gesture

Two taps close enough together that the platform reads them as one gesture rather than as two taps. The window is narrow — AOSP puts it between 40 and 300ms — so the whole chain is sent in a single request and played back device-side, with no round trip inside it.

Refused by the uiautomator dump backend, which taps through one adb call at a time and so cannot promise the interval.

Usage​

mobium double-tap <@ref | locator | x y> [flags]

Examples​

Double-tap​

mobium double-tap @e2

More, from mobium double-tap --help​

mobium double-tap @e2
mobium double-tap text="Photo"
mobium double-tap 540 1200

On a device​

BeforeAfter
Before: mobium double-tap testid=pressTarget on an Android 15 emulatorAfter: mobium double-tap testid=pressTarget on an Android 15 emulator

mobium double-tap testid=pressTarget on an Android 15 emulator

The tool​

double-tap calls app_tap; its arguments and what every client calls it are there.