Swipe
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Swipe the screen. These call app_swipe.
Swipe
public void Swipe(string direction)
public void Swipe(string target, string direction)
public void Swipe(int x1, int y1, int x2, int y2)
Drags across the middle of the screen: "up", "down",
"left" or "right". The finger moves that way, so
"up" scrolls a page down.
Swipes across an element, after the checks a tap makes — part of the way, which reveals a list row's swipe actions without performing the first. Map again and tap the action you mean.
Drags between two points in device pixels.
Examples
Swipe up, to scroll the page down
device.Swipe("up");
The same call from the command line, mobium swipe up, printed on an Android 15 emulator:
swiped up: (540,1584) to (540,679)
| Before | After |
|---|---|
![]() | ![]() |
mobium swipe up on an Android 15 emulator

