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 Automate
Suggested Answer

Click UI web download

(0) ShareShare
ReportReport
Posted on by 8
Hello,
I'm trying to download directly from the website but the UI automation is getting an error:
 
Correlation Id: 2dd643d0-66fa-4420-9cbf-c2ae78518798
Exception of type 'Microsoft.Flow.RPA.Desktop.UIAutomation.DesktopCore.Exceptions.SimulateActionException' was thrown.: Microsoft.Flow.RPA.Desktop.Modules.SDK.Extended.Exceptions.InternalActionException: Failed to simulate click. UI element does not support simulation. Disable the respective parameter in the action. ---> Microsoft.Flow.RPA.Desktop.UIAutomation.DesktopCore.Exceptions.SimulateActionException: Exception of type 'Microsoft.Flow.RPA.Desktop.UIAutomation.DesktopCore.Exceptions.SimulateActionException' was thrown.
   at Microsoft.Flow.RPA.Desktop.UIAutomation.Core.Abstractions.ServiceRouter`1.Invoke(MethodInfo targetMethod, Object[] args)
   at generatedProxy_2.SimulateClickElementInWindow(UIRuntimeElement)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
--- End of remote exception stack trace ---
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.Proxy.RemoteAutomationRuntimeProxy.Invoke(MethodInfo targetMethod, Object[] args)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
   at generatedProxy_3.SimulateClickElementInWindow(UIRuntimeElement )
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Common.UIAutomationActionBase.PerformAutomation(Action`2 action, UIControl control, Boolean logAction)
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.PressWindowButton.Execute(ActionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.PressWindowButton.Execute(ActionContext context)
   at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
Screenshot 2026-01-09 101548.png
Categories:
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,565 Super User 2026 Season 1 on at
    Looking at your error message I think the flow is having difficulty pressing a button in window with "Simulate action" toggled on.
    Try turning off the "Simulate action"


    Thoughts on your flow:
    Since your flow is automating a website I would change the "UI Autoamtion" -actions to be "Browser atomation" -action. So not using automations that do actions on "window" but on "wep page" instead.



    So the "Press button in window" change it to "Press button on web page" (and d othe same for action 12 "Click UI element in window")


    You will need to recapture the elements since UI elements are different from web elements.

    Also you should add wait actions any time new data/element is loaded in the web page or you are navigating to a different link.
    So after every click I would add "wait for web page content". Your error could also be due to the flow trying to press a button too early before the element has loaded. So after "Go to web page" -action try adding "Wait for web page content" -action to wait for the button to load before trying to press it
  • GS-24120040-0 Profile Picture
    8 on at
    Does this work with unattended schedule?
  • Suggested answer
    eetuRobo Profile Picture
    4,565 Super User 2026 Season 1 on at
    yes the solution provided previously works with unattended runs
  • GS-24120040-0 Profile Picture
    8 on at
    Didn't work on Chrome or Edge.
     
  • Suggested answer
    eetuRobo Profile Picture
    4,565 Super User 2026 Season 1 on at
    Your latest screenshot is not showing which action failed but looking at the error message I assume its "Click download link on web page". So this is different than your opening post error. I recommend you share more details on the flow and the part of the process that gives you errors. So maybe share also screenshots of the website and what you are trying to click there.

    As it says in the error message its only supported in "Automation Browser" which is Internet Explorer.
    https://learn.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/webautomation#clickdownloadlink

    "The Click download link on web page action only works in Internet Explorer, which has reached the end of its lifecycle. We recommend using HTTP actions instead."

    So I recommend you try using "Click link on web page" -action instead of "Click download link on web page".



    Then it should download the file where ever your browser usually downloads files so most likely the "Downloads" folder.

    If that doesn't work use "Download from web" HTTP action.


    So give the link to the URL field and the location where you want it to save. 

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard