Skip to main content

mobium check

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

Tick a checkbox or turn a switch on

Puts the control into the checked state, rather than toggling it.

Idempotent: if it is already checked this does nothing and says so, which is what makes it safe to call without reading the state first. That is the difference from tap, which flips whatever is there — reaching a known state with tap means read, compare, tap, read again.

Refuses anything with no checked state rather than tapping it and calling it checked, and confirms the tap by reading the state back.

Usage​

mobium check <@ref | locator> [flags]

Examples​

Tick a checkbox, whatever state it is in​

mobium check testid=termsCheck

Printed on an Android 15 emulator:

testid=termsCheck is now checked
BeforeAfter
Before: mobium check testid=termsCheck on an Android 15 emulatorAfter: mobium check testid=termsCheck on an Android 15 emulator

mobium check testid=termsCheck on an Android 15 emulator

More, from mobium check --help​

mobium check @e3
mobium check testid=termsCheck

On a device​

BeforeAfter
Before: mobium uncheck testid=termsCheck on an Android 15 emulatorAfter: mobium uncheck testid=termsCheck on an Android 15 emulator

mobium uncheck testid=termsCheck on an Android 15 emulator

The tool​

check calls app_check; its arguments and what every client calls it are there.