wait
Blocks until the specified condition is satisfied (returns true). This uses a frequency of 600ms for up to 10 tries, i.e. attempting a maximum of 6 seconds.
Return
true if the condition was satisfied, otherwise false
Parameters
cond
the condition