Skip to main content

mobium type

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

Type text into an element, after what it holds

Types into the element you name rather than whatever holds focus, so quotes, spaces and non-ASCII arrive intact, after what the field already holds. mobium fill replaces it instead. Not on Android's uiautomator dump driver, which declines text entry rather than enter it wrong.

Usage​

mobium type <@ref | locator> <text> [flags]

Examples​

Type after what a field holds​

mobium type testid=email "hello@example.com"

More, from mobium type --help​

mobium type @e3 "hello@example.com"
mobium type testid=search "O'Brien & Sons"
mobium type @e3 "" # clear the field

On a device​

BeforeAfter
Before: mobium type testid=username mobium on an Android 15 emulatorAfter: mobium type testid=username mobium on an Android 15 emulator

mobium type testid=username mobium on an Android 15 emulator

The tool​

type calls app_type; its arguments and what every client calls it are there.