Skip to main content
Executes an Appium script against the device. There is no simplified form. script is required.

Parameters

ParameterTypeRequiredDescription
scriptstringYesThe Appium script to execute.
argsstringNoArguments passed to the script.
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.

Examples

- appium:
    script: "mobile: shell"
    args: '{ "command": "echo", "args": ["hi"] }' # JSON args passed to the script