repeat
Repeat a block of commands a specified number of times.
Last updated
- repeat:
while:
notVisible: "ValueX"
commands:
- tapOn: Button- evalScript: ${output.counter = 0}
- repeat:
while:
true: ${output.counter < 3}
commands:
- tapOn: Button
- evalScript: ${output.counter = output.counter + 1}- repeat:
times: 10
while:
notVisible: "someElement"
commands:
- tapOn: Button- evalScript: ${output.counter = 1}
- repeat:
times: 4
while:
true: ${output.counter < 10}
commands:
- evalScript: ${console.log("Hello World")}
- evalScript: ${output.counter++}