Skip to main content

mobium context

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

Switch context, or show the current one

While a WebView context is active, map and tap operate on the page's elements. Taps are still delivered as real touches on the device.

Usage​

mobium context [name] [flags]

Examples​

Drive the web content of a WebView​

mobium context WEBVIEW_com.example.shop

Go back to the native app​

mobium context NATIVE_APP

More, from mobium context --help​

mobium context # show the current context
mobium context WEBVIEW_com.example # drive the web content
mobium context NATIVE_APP # back to the native shell

On a device​

mobium context WEBVIEW_dev.mobium.mobiumapp on an Android 15 emulator

mobium context WEBVIEW_dev.mobium.mobiumapp on an Android 15 emulator

The tool​

context calls app_context; its arguments and what every client calls it are there.