Skip to main content

Guides

Past the quick start: one task each, walked on a real device, with every command and line of output what mobium printed.

GuideFor
The command linehow the commands fit together: sessions, the map-act-map loop, locators and refs, --json, exit statuses, batch, and the daemon
MCPMobium as an agent's tools: connecting a client, an agent driving a device, what a client sees, answers, failures and sessions
Auto-waitwhat an action waits for before it touches anything, what it refuses and why, and waiting on purpose with mobium wait
Tutorial: a flaky test made steady with the gray boxa test that taps right after work the screen does not show, failing five times in five, and passing once the app says when it is busy
Gray boxan app that says when it is busy: launch --gray-box, every action waiting for the app to be idle, and the lines an app writes to say so
Test runnermobium test: a config, a test file, a failure with its evidence, retries and flaky, several devices, CI — and the step shorthand, soft assertions, a trace and a debugger, one test over several cases with each, and a page to run tests from with --ui
Inspectormobium inspect: the screen with every element outlined, the locator for any of them, trying a locator, and recording what you do as a test
Network conditionstaking an Android device offline or slowing it down, reading back what it really has, and doing it inside a test
Another machine's devices, and a grid--remote to one node over SSH, and MOBIUM_GRID to share several nodes' devices between runs