How to Wait until page Gets Loaded?

HI all,

My questions is like how to wait dynamically until the webpage gets loaded in UiPath ?
It may load in 5 secs or 1min or 2mins .

Thanks in Advance


Please use the wait for load property and set it to complete in the activities almost all activities have it

Or you can explicitly use element exists, on element appear or check app state activities


Hi @Akash_Clv

Use a While loop & place an Element Exists activity. Configure the Element Exists to target an element on the webpage that indicates its loaded state. In the properties, set the Output variable IsPageLoaded. Set the condition of the While loop to Not IsPageLoaded. This means the loop will continue until the webpage is loaded.

Hope this helps,
Best Regards.

1 Like

you can made custom delay by using Element Exist.
put one Element Exist and assign bool variable it.
put while loop and assign that variable and in condition give that bool variable as Not BoolVar
put delay activity inside loop and give 5 second delay
after loop put again element exist with same selector and variable.

1 Like

@Akash_Clv you can check inside loop that how many times its added delay so that in case of portal/web is actually not working then it generates business exception otherwise it will run all the time.

1 Like

hi @raja.arslankhan

Thanks for your Suggestions , i have better clarity now

thanks and regards

hello @arjunshenoy

Thanks for your detailed explanation

Thanks and regards

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.