Skip to main content
Toggles an Android system setting such as airplane mode or Wi-Fi. The simplified form takes the setting name as a single string.
Android only.

Parameters

ParameterTypeRequiredDescription
settingenumYesSetting to toggle: airplane_mode, data, wifi, or location.
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.

Shorthand

Setting name as a single string.
- toggleSettings: airplane_mode

Examples

- toggleSettings:
    setting: wifi