pressDrag
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Press and drag: one finger holds an element while a second finger drags from one place to another, and the first lifts only after the second has. These call app_press_drag.
pressDrag
pressDrag(hold: string, from: string, to: string, options?: { leadMs?: number }): Promise<Data>
Examples
Hold one thing and drag another
await device.pressDrag('@e3', '@e5', '@e9')
On a device

mobium press-drag 'label=Hold zone' 'label=Act zone' 'label=Drag end' on an Android 15 emulator