Forum Discussion
baxatob
Community Hero
You can't avoid a delay, if you need to wait for something.
tristaanogre has advised a nice and flexible method.
def wait_for_something_exists(something, timeout): counter = 0 while not something.Exists and c < timeout: aqUtils.Delay(1000) # or time.sleep(1) counter += 1
JackSparrow
7 years agoFrequent Contributor
Thanks baxatob tristaanogre will try and come back
Related Content
- 3 years agoIuliaVascan
- 6 years agosriram_sig
- 2 years agolalit_singh
Recent Discussions
- 6 hours agoSubhraDas