Skip to main content

Screenshot

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

Capture the device screen as a PNG. These call app_screenshot.

Screenshot​

public byte[] Screenshot()
public byte[] Screenshot(string path)

Captures the screen as PNG.

Captures the screen as PNG and writes it to a file.

Examples​

Save a screenshot​

device.Screenshot("screen.png");

The same call from the command line, mobium screenshot -o screen.png, printed on an Android 15 emulator:

saved …/screen.png (153875 bytes)

mobium screenshot -o screen.png on an Android 15 emulator

mobium screenshot -o screen.png on an Android 15 emulator