OpenBrowser activity runs twice and then throws an exception

Hi Everyone,

I have created a SEQUENCE and used OpenBrowser activity. But by default it runs twice(I expect it to run only once) and then throws below exception.

25.10.0+Branch.support-v25.10.Sha.08682c60ce8b39df6d909562751100092af432f7.08682c60ce8b39df6d909562751100092af432f7

Source: Open Browser

Message: The browser failed to launch.

Exception Type: UiPath.Core.BrowserOperationException

in seq-LaunchApp.xaml
at OpenBrowser “Open Browser”
at Sequence “seq_LaunchApp”
at seq_LaunchApp “seq-LaunchApp”

UiPath.Core.BrowserOperationException: The browser failed to launch.
—> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x800402a5
at UiPath.UiSystemClass.StartBrowser(String bstrSelector, String bstrURL, String bstrArguments, UiBrowserName browserType, Int32 timeoutMs, UiBrowserFlags browserFlags)
at UiPath.Core.Browser.Open(String url, CommMethod startBrowserMechanism, Boolean privateSession, Boolean headlessSession, Boolean defaultSession, String cmdLineArgs, Int32 timeoutMs)
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.ObsoleteAsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Any help in this regard would be appreciated.

@sanjeevwang,

If possible share your workflow to check what’s wrong in it. There could be possibility of misconfiguration of the activity.