Skip to main content

zoom

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

Pinch two fingers apart or together, about an element or the middle of the screen. These call app_zoom.

zoom​

zoom(direction?: 'in' | 'out', target?: string): Promise<Data>

Examples​

Pinch out, to zoom in​

await device.zoom('in')

The same call from the command line, mobium zoom in, printed on an Android 15 emulator:

pinched in about the screen at (540, 1200), fingers 160 to 640px apart — the gesture was delivered, which is all this can confirm: neither platform reports a zoom level in the hierarchy, so ask the thing you zoomed (a WebView knows its own visualViewport.scale)
BeforeAfter
Before: mobium zoom in on an Android 15 emulatorAfter: mobium zoom in on an Android 15 emulator

mobium zoom in on an Android 15 emulator