Skip to main content
Asserts a condition on the element itself. Each alias is its own single-key command. There is no separate condition or negated field. The positive and negative variants map directly to the table below.

Parameters

ParameterTypeRequiredDescription
onstringYesTarget description or percent pair.
timeoutnumberNoMilliseconds to wait for the condition to hold.
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

Target as a single string.
- checkElementVisible: the Sign in button

Examples

- checkElementVisible:
    on: the Submit button
    timeout: 16000 # poll for up to 16s before failing
- checkElementDoesNotExist: the loading spinner

Notes

Aliases supported by this family:
Alias
checkElementExists
checkElementDoesNotExist
checkElementVisible
checkElementNotVisible
checkElementEnabled
checkElementNotEnabled
checkElementEditable
checkElementNotEditable
checkElementFocused
checkElementNotFocused