pressTap
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Press and tap: one finger holds an element while a second finger taps another, and the first lifts only after the second has. These call app_press_tap.
pressTap
public void pressTap(String hold, String tap)
Holds one element with a finger while a second finger taps another; the
first lifts only after the second. Both are resolved before anything is
touched. Reports that the gesture was delivered; call map again
to see what it did. Android 15 and earlier only: on iOS XCTest adds a
zero-length touch at the second finger's target when the gesture starts,
and on Android 16 and later UiAutomator2's down times are rejected, so
both refuse with UnsupportedException.
@param hold what the first finger holds: a ref from map() such as "@e5", or a locator such as "text=Sign in"
@param tap what the second finger taps: a ref or a locator
Examples
Hold one thing and tap another
device.pressTap("@e3", "@e7");
On a device

mobium press-tap 'label=Hold zone' 'label=Act zone' on an Android 15 emulator