Click on web element when data is loaded on the fly

Hi all,

On a web page, I have two dropdowns. Both are displayed at the same time. The second dropdown is filled depends on the selection of the first one. Data for the second dropdown is retrieved from the backend service and sometimes, data is received immediately sometimes it takes up to 5 seconds or even more.

How can I achieve that UiPath will wait until the second dropdown is not fully populated and only then UiPath will click on that dropdown? WAIT_FOR_READY=complete doesn’t work. I will not like to put a delay before execution.


You can get the values from second dropdown using find children activity and use it in while loop with a break when the values are populated.