repeat
A command to repeat a set commands until a condition is met.
Repeat N times
Repeats set of commands N times
- repeat:
times: 3
commands:
- tapOn: Button
- scroll
Repeat-while
Repeat set of commands until a condition is satisfied.
- repeat:
while:
notVisible: "ValueX"
commands:
- tapOn: Button
A condition can also be a JavaScript expression:
- evalScript: ${output.counter = 0}
- repeat:
while:
true: ${output.counter < 3}
commands:
- tapOn: Button
- evalScript: ${output.counter = output.counter + 1}
To learn more about conditions, see the following section:
ConditionsLast updated
Was this helpful?