I want to make the bot wait to click a button on a website without the delay activity. The button pops up randomly, it can sometimes take 20s, 1m, 5m, etc. The timing is irregular Thanks.
You can use On Element Appear and give maximum timeout in Properties
Inside that you can keep Click acitivity
So it is dynamic when the button is loaded correctly
Hope this may help you
Thanks,
Srini
If you are using Modern activities then Check app State will work
Hope this may help you
Thanks,
Srini
Hello @Uri22
You can Use “Element Exists” Activity before the Click Activity. This Activity will waits Until the Element gets completely visible. Also, in the Properties Panel of Element Activity you can pass 30sec, 1min, 5 min, etc.
Regards
Hi
I would recommend a simple and stable solution on as I recently faced this scenario
-
Use a RETRY SCOPE activity where in Action block use a click activity and leave the condition block empty
-
With click activity, try to indicate the element and also enable the property Target.WaitForReady as Complete
-
Now in retry scope, mention the number of retries as 20 and time interval as per your need of few second between each retry
This will keep trying until button is completely active and throws no error until the number of times you have mentioned in retry scope
Cheers @Uri22
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.