web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Desktop...
Power Automate
Answered

Power Automate Desktop | wait for loading icon disappear

(0) ShareShare
ReportReport
Posted on by 6

Hi guys ! 

I tried to wait for  the loading icon to disappear in the browser (chrome) 
My websites have loading icon div with display = none in default.
When I use the "wait for web page content" activity, it did not work probably.
I think because the "loading" icon always exists. (this icon appears or not because display attribute value)
I tried to get attributes of the "loading" icon by "get detail element" activity but can not get the display attribute
Any idea how to wait for this loading icon to disappear (or appear)?

KhanhK31_0-1691642760710.png

 

 

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Assuming “if element exists” isn’t working the way you want, you could resort to if image exists. Note, this is only recommended for running locally on a specific computer with the same screen and resolution every time. 

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Alternatively to what @MichaelAnnis suggested, you could also build an infinite loop with While 1 = 1 and use Get details of web page to get the page source. Then check if the page source contains <div id="LoadingImage" style="display: none;">, and the use Exit loop to stop checking when it does contain it, or wait 1 second if it doesn't.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • KhanhK31 Profile Picture
    6 on at

    Thank @MichaelAnnis @Agnius  for your replies. 

    I think using image exists is not stable. Using an infinite loop with delay may be a good solution now.  I hope PA desktop flow will develop more activity for this situation

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard