Skip to main content

openUrl

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

Open a URL or deep link on the device — the quickest way to reach a specific screen without tapping through to it. These call app_open_url.

openUrl​

public String openUrl(String url)

Opens a URL or deep link — the quickest way to a specific screen — and returns the app that ended up in the foreground.

@param url the URL or deep link @return the app that ended up in the foreground

Examples​

String app = device.openUrl("myapp://cart"); // the app that ended up in front

On a device​

mobium open https://en.wikipedia.org/wiki/Mobile_app on an Android 15 emulator

mobium open https://en.wikipedia.org/wiki/Mobile_app on an Android 15 emulator