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 / Click UI Element in wi...
Power Automate
Unanswered

Click UI Element in window -- Causing a small scroll + offset/failure

(0) ShareShare
ReportReport
Posted on by 10

Hi all, a bit of a strange scenario here where a flow many times will work for weeks but sporadically has issues running due to this particular step:

Click UI element in window

 

This step targets a 'Download' link on screen and should simply click the link. However, I've watched the flow run and now see this step is causing the window to scroll down, then attempt to click the Download link. As a result the flow fails because the click occurs on the original location just prior to the scroll.

 

Any thoughts on the cause or has anyone seen this slight 'scroll' occur previously?

I have the same question (0)
  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    I may have had a similar issue, and I resolved it by changing my action from "Click UI element in window" to "Click link on web page", so you may try that if your Download link is in a browser.

     

    Edit: Also, I believe part of my issue was I needed this activated

    ryule_0-1662149122286.png

     

    Not 100% sure if the scroll thing was part of my problem too or not, but it definitely moves the screen to get to it.

  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @Bernard89 . I have 2 solutions for you. I am not sure if they will work or not but worth the try. 

     

    1) Double Click on the action. Click on OnError. Then on the retry action if an error occurs. Change the times value to 5 or your choice. Interval of two is fine. 

    But, I dont think above will work as you are saying its already pressing before scrolling.

     

    Sundeep_Malik_0-1662456883081.png

     

    2) Second method, I would suggest you to is manually scroll with the help of a really simple JS code. Search Run JavaScript action and drag it and add the same code as the picture below. 

     

    Sundeep_Malik_1-1662457077924.png

     

    One more thing you should do while creating desktop flows is to use wait action. 

     

    I hope the above solution/solutions help. 

     

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard