Skip to main content
Presses a software keyboard key. The simplified form takes the key name as a single string.

Parameters

ParameterTypeRequiredDescription
keyenumYesKey to press: enter, backspace, or close_keyboard.
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

Key name as a single string.
- pressKey: enter

Examples

- pressKey:
    key: close_keyboard # dismiss the on-screen keyboard