Skip to main content

Documentation Index

Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Runs an adb command against the connected Android device. The simplified form takes the command as a single string.
Android only.

Parameters

ParameterTypeRequiredDescription
commandstringYesThe adb command to run.
argsstringNoAdditional arguments for the command.
saveAsstringNoVariable to store this step’s return value on env.<name>.
retriesnumberNoTimes to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.
commentstringNoFree-form annotation kept with the step.

Shorthand

Command as a single string.
- adb: shell input keyevent 26

Examples

- adb:
    command: shell pm clear
    args: com.example.shop # clear the app's data between runs