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 / Recorded actions dont ...
Power Automate
Answered

Recorded actions dont work

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I recorded some desktop actions:

1. Open new tab (chrome)

2. Go to URL

3. Type something in a search textbox

 

When I reproduce it, I get the error below immediately.

 

Any idea?

 

 

Microsoft.Flow.RPA.Desktop.Robin.SDK.ActionException: Click failed (failed to get window) ---> Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.Exceptions.WindowNotFoundException: Exception of type 'Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.Exceptions.WindowNotFoundException' was thrown.
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.UIAutomationActionsDispatcher.FindWindow(Variant windowSelector, Guid windowId)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.UIAutomationActionsDispatcher.ClickElementInWindow(Variant windowSelector, Variant controlSelector, Variant offsetX, Variant offsetY, Guid windowId, Int32 clickType, Int32 elementRectangleSubsector, Int32 automationImpl)
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.UIAutomation.Actions.ClickElementInWindow.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Don't use the recorders. They are garbage.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @Anonymous 

     

    Please use "Web recorder" instead of "Desktop recorder".

    Also please use actions under "Web automation" category instead of actions under "UI automation" category.

     

    Thank you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I cant, basically the extensions have to go through a very long approval process in my company.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @Anonymous 

     

    Oh, I see.

     

    In your error message, it says "failed to get window" and "WindowNotFoundException". I suppose the name of your web browser window was changed after PAD captured UI elements while in the desktop recorder session.

     

    Close all web browser tabs and windows, and then retry the desktop recorder session again.

     

    Thank you.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Use Send Keys {Control}(l) 'that's a lowercase L, it will take you to the address bar with everything highlighted.

  • JamesP_MSFT Profile Picture
    Microsoft Employee on at

    Hello, @Anonymous. 
    Please note that Web automation (Actions and thus the recorder) require the installation of the appropriate extension on the browser of your choice.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    ok, but if I use the desktop recorder to open the browser and type something, isnt it the same result? or its just not supported? 

  • JamesP_MSFT Profile Picture
    Microsoft Employee on at

    Desktop recorder is used for desktop applications. 
    Web recorder is used for browser (web pages) automation.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @Anonymous 

     

    Have you ever tried Internet Explorer or built-in Automation Browser to access to web sites?

    As far as I know, these browsers do not need extension to be installed to automate them.

     

    You can find more information about browsers in document below:

    Using browsers and managing extensions - Power Automate | Microsoft Docs

     

    Thank you.

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
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard