The workaround does not work. When I Launch new Microsoft End the webpage pops up but the instance does not get added to the flow variables and I still get an error "Failed to assume control of Microsoft Edge". My perfectly working flow just stopped working after a windows update and an Edge update. Power automate desktop version is up-to-date. Have uninstalled and reinstalled the program and the brower extensions. Nothing has worked. Error remains. I'm able to navigate to the website I want to load by doing a new instance, but PAD will not communicate with the browser.
Correlation Id: d65414af-badb-414a-82eb-8e32ee07572f
Illegal characters in path.: Microsoft.Flow.RPA.Desktop.Modules.SDK.Extended.Exceptions.InternalActionException: Failed to assume control of Microsoft Edge (Internal error or communication failure). ---> System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.IsPathRooted(String path)
at System.IO.Path.CombineNoChecks(String path1, String path2)
at System.IO.StringResultHandler.CreateObject(SearchData searchData, WIN32_FIND_DATA& findData)
at System.IO.FileSystemEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.IO.Directory.GetFiles(String path, String searchPattern)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.NamedPipesRpcPeer.PipeExists(String pipeName)
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.WebExtensionsBrowser.Communication.RpcWebExtensionsProxy.GetRpcPeer()
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.WebExtensionsBrowser.Communication.RpcWebExtensionsProxy.PerformHostOperationSafe[T](Func`2 func)
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Core.WebExtensionsBrowser.WebExtensionsBrowserBase.get_Window()
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.Actions.LocalWebAutomationRuntime.LaunchNewEdge(String initialUrl, String edgeTabTitle, String edgeTabUrl, String dialogButtonToPress, LaunchNewEdgeMode operation, LaunchWindowState windowState, AttachMode attachMode, Boolean waitForWebPageToLoad, TimeSpan waitForPageToLoadTimeout, WebPageCourseOfActionIfDialogAppears courseOfActionIfDialogAppears, Boolean clearCache, Boolean clearCookies, TimeSpan timeout)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Desktop.UIAutomation.WebAutomation.Runtime.WebAutomationRuntimeRouter.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.LaunchNewEdge(String , String , String , String , LaunchNewEdgeMode , LaunchWindowState , AttachMode , Boolean , TimeSpan , WebPageCourseOfActionIfDialogAppears , Boolean , Boolean , TimeSpan )
--- End of remote exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.GetRemoteResultOrThrow(ISerializer serializer, RPCMessage response, Type expectedResultType, Object additionalContext)
at Microsoft.Flow.RPA.Desktop.UIAutomation.Shared.Rpc.RpcDispatchProxy`1.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_1.LaunchNewEdge(String , String , String , String , LaunchNewEdgeMode , LaunchWindowState , AttachMode , Boolean , TimeSpan , WebPageCourseOfActionIfDialogAppears , Boolean , Boolean , TimeSpan )
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.<>c__DisplayClass24_0.<LaunchNewEdge>b__0(IWebAutomationRuntime s)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.ExecuteSafe[T](Func`2 action, TimeSpan timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationRuntimeServiceProxy.LaunchNewEdge(String initialUrl, String edgeTabTitle, String edgeTabUrl, String dialogButtonToPress, LaunchNewEdgeMode operation, LaunchWindowState windowState, AttachMode attachMode, Boolean waitForWebPageToLoad, TimeSpan waitForPageToLoadTimeout, WebPageCourseOfActionIfDialogAppears courseOfActionIfDialogAppears, Boolean clearCache, Boolean clearCookies, TimeSpan timeout)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.LaunchEdgeBase.<Execute>b__61_0(IWebAutomationRuntime s)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.WebAutomationActionBase.PerformWebAutomationWithLogging[T](Func`2 action, WebAutomationRuntimeLogData requestData, Func`3 resultData)
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.LaunchEdgeBase.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.WebAutomation.Actions.LaunchEdgeBase.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)