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 / Microsoft Edge Browser...
Power Automate
Unanswered

Microsoft Edge Browser: Error when launching pages in new instance

(0) ShareShare
ReportReport
Posted on by 26

Hi! Since 22.10.23 we have the problem that the existing automations do not work.

 

Power Automate gives an error when starting a new instance of Microsoft Edge. No matter which page is to be called, the same error appears. We have renewed the extension for Edge - the error remains.

Do you also have this error?

 

 

 

Microsoft Edge Browser: Error when launching pages in new instance

"Korrelations-ID: 151ca77a-8237-484f-9de5-5b192f1d0e40

Failed to wait for page to load. Page didn't load or lost communication with browser.: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Bei der Übernahme der Kontrolle von Microsoft Edge ist ein Fehler aufgetreten (Interner Fehler oder Kommunikationsfehler). ---> System.Exception: Failed to wait for page to load. Page didn't load or lost communication with browser.
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Proxy.LocalWebAutomationRuntime.ExecuteWebAutomationActionCore[T](IWebAutomationBrowser automationBrowser, WebAutomationOptions webAutomationOptions, Func`3 coreFunction, Predicate`1 successCondition)
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Proxy.LocalWebAutomationRuntime.LaunchNewBrowserHandleDialogueAndWaitForLoad(IWebAutomationBrowser browser, WebAutomationOptions webAutomationOptions, String browserName)
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Proxy.LocalWebAutomationRuntime.LaunchNewEdge(String initialUrl, String edgeTabTitle, String edgeTabUrl, String dialogButtonToPress, Int32 operation, Int32 windowState, Int32 attachMode, Boolean waitForWebPageToLoad, TimeSpan waitForPageToLoadTimeout, Int32 courseOfActionIfDialogAppears, Boolean clearCache, Boolean clearCookies, TimeSpan timeout)
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Common.Proxy.WebAutomationRuntimeRouter.Invoke(MethodInfo targetMethod, Object[] args)
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
bei generatedProxy_3.LaunchNewEdge(String , String , String , String , Int32 , Int32 , Int32 , Boolean , TimeSpan , Int32 , Boolean , Boolean , TimeSpan )
--- Ende der Remoteausnahme-Stapelverfolgung----
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.GetRemoteResultOrThrow(ISerializer serializer, RPCMessage response, Type expectedResultType, Object additionalContext)
bei Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.Invoke(MethodInfo targetMethod, Object[] args)
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Reflection.DispatchProxyGenerator.Invoke(Object[] args)
bei generatedProxy_1.LaunchNewEdge(String , String , String , String , Int32 , Int32 , Int32 , Boolean , TimeSpan , Int32 , Boolean , Boolean , TimeSpan )
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.<>c__DisplayClass24_0.<LaunchNewEdge>b__0(IWebAutomationRuntime s)
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExecuteSafe[T](Func`2 action, TimeSpan timeout)
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.LaunchNewEdge(String initialUrl, String edgeTabTitle, String edgeTabUrl, String dialogButtonToPress, Int32 operation, Int32 windowState, Int32 attachMode, Boolean waitForWebPageToLoad, TimeSpan waitForPageToLoadTimeout, Int32 courseOfActionIfDialogAppears, Boolean clearCache, Boolean clearCookies, TimeSpan timeout)
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.LaunchEdgeBase.<Execute>b__61_0(IWebAutomationRuntime s)
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationActionBase.PerformWebAutomationWithLogging[T](Func`2 action, WebAutomationRuntimeLogData requestData, Func`3 resultData)
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.LaunchEdgeBase.Execute(ActionContext context)
--- Ende der internen Ausnahmestapelüberwachung ---
bei Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.LaunchEdgeBase.Execute(ActionContext context)
bei Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)"

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Try launching Edge via the Run application action and then using Launch new Microsoft Edge to attach to it. The flow should look somewhat like this:

    Agnius_0-1698303925143.png

     

    Note: I initially run Edge with the Google page to make it load faster and also make it easier to attach to the instance. This is a standard functionality I always use in every single flow.

    Also note: You will need to replace the value of the %URL% variable in the Set variable action to whatever you want to navigate to.

     

    Here's a snippet that you can copy and paste directly into your PAD flow designer to create all those actions:

    SET URL TO $'''www.someURL.com'''
    System.RunApplication.RunApplication ApplicationPath: $'''msedge''' CommandLineArguments: $'''www.google.com''' WorkingDirectory: $'''%''%''' WindowStyle: System.ProcessWindowStyle.Maximized ProcessId=> AppProcessId
    WAIT (UIAutomation.WaitForWindow.ToOpenByTitleClass Title: $'''Google*Microsoft​ Edge''' Class: $'''Chrome_WidgetWin_1''' FocusWindow: True) FOR 30
    WebAutomation.LaunchEdge.AttachToEdgeByTitle TabTitle: $'''Google''' AttachTimeout: 5 BrowserInstance=> BrowserMain
     ON ERROR REPEAT 5 TIMES WAIT 3
     END
    WebAutomation.GoToWebPage.GoToWebPageCloseDialog BrowserInstance: BrowserMain Url: URL
    

    -------------------------------------------------------------------------
    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.

     

     

     

  • Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @matmat 

     

    I faced this issue before, what I tried are below

     

    1) check in the extention if there is any legacy addon, If so remove

    2) removing the addon again and try installing again freshly

    3) Also check is the Edge is up to date

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Regards,

    Srini

     

  • matmat Profile Picture
    26 on at

    Hi,
    Unfortunately, no.

    The old extension (up to V 2.27) is deactivated and uninstalled. Several installations and uninstallations did not solve the problem.
    The browser opens, but after 60 sec. timeout the error message appears.

    The extension is up to date, browser is up to date and PA Desktop is up to date.


    Computer restarted several times, cookies & co deleted. 😕

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Have you tried my suggestion?

  • Srini007 Profile Picture
    3,490 Super User 2026 Season 1 on at

    Hi @matmat 

     

    Try with @Agnius steps also, Hopefully it works

    If not able to resolve then you need raise it to microsoft support

     

    If you find this reply helpful, please consider giving it a LIKE AND

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION

     

    Regards,

    Srini

  • matmat Profile Picture
    26 on at

    Hi together,

     

    @Agnius: Your method opens the window, thanks. Since my automation has over 80 steps and various windows need to be opened, I'll submit the ticket.

     

    Thank you for the help

  • matmat Profile Picture
    26 on at

    hi everyone, i got an answer from support today. the problem is current and known. they are working on it.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Thanks for sharing. Would be great if you shared more details for an estimated time of a solution, when you have that. I guess they'll update you.

  • matmat Profile Picture
    26 on at

    The answer came quickly - a time estimate is not possible at the moment.

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

11manish 223

#2
David_MA Profile Picture

David_MA 195 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 167

Last 30 days Overall leaderboard