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
func (d *Device) Type(ctx context.Context, target, text string) error
Type puts text into an element, after what it holds. Pass "" to clear it.
Examples
Type after what a field holds
if err := dev.Type(ctx, "testid=email", "hello@example.com"); err != nil {
return err
}
On a device
| Before | After |
|---|---|
![]() | ![]() |
mobium type testid=username mobium on an Android 15 emulator

