Back to all steps
Conditional jump
Step fields
1
selector
(text)
2
expected value
(text)
3
target step
(step_ref)
4
maximum triggers
(number)
In a scenario, fields are joined with
|.If the element text contains the given string, continue the run from another step. Format: selector|text|step|maximum triggers.
Example: .cart-status|In cart|7|5.
The text may be left empty - then the mere presence of the element is the condition.
Matching ignores case and extra whitespace. A missing element means «condition not met», not a failure: the run proceeds to the next step.
Example: .cart-status|In cart|7|5.
The text may be left empty - then the mere presence of the element is the condition.
Matching ignores case and extra whitespace. A missing element means «condition not met», not a failure: the run proceeds to the next step.