type
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Type text into a specific element, after what it already holds; app_fill replaces it instead. These call app_type.
type
public void type(String target, String text)
Types into an element, after what it holds. Pass "" to clear it.
@param target a ref from map() such as "@e5", or a locator such as "text=Sign in"
@param text the text to type; "" clears the field
Examples
Type after what a field holds
device.type("testid=email", "hello@example.com");
On a device
| Before | After |
|---|---|
![]() | ![]() |
mobium type testid=username mobium on an Android 15 emulator

