Solved
Forum Discussion
Lee_M
3 years agoCommunity Hero
Hi,
Sometimes I find it waiting in an empty while loop to get the job done more effectively.
//loop breakout counter
i = 0
while ("textContent" != "Requested") {
// do nothing until condition is true
// can have a X second delay before perfoming the test again
// may want to think about a breakout clause too
i++
if (i = 10) {
Runner.stop() // fail and end test
}
}