Power Automate Desktop Stuck after Launching New Browser

Power Automate Desktop is a robotic process automation (RPA) solution from Microsoft that allows users to automate tasks that integrate with legacy applications that have no API capabilities, as well as to speed up manual processes originally handled by end users. It’s an intuitive technology that can be run in attended and unattended modes, and one I’ll be writing more future posts on soon (i.e. best practices for capturing actions and UI elements as well as reviewing supplemental resources on advanced CSS selectors).

The Issue

One thing Power Automate Desktop users may notice, however, when automating tasks with one of the “Launch new” browser actions, is that after they run the Flow, it appears to hang upon launching the browser and navigating to the respective URL. This is something I have personally encountered and so I wanted to share what is happening and how to avoid it.

Steps to Reproduce

  1. Launch your default profile in Google Chrome
  2. Launch a secondary profile in Google Chrome
  3. Ensure the secondary profile / instance of Google Chrome is the one you’ve most recently utilized (i.e. use it to navigate to a webpage)
  4. Go into Power Automate Desktop and Run a Flow where you are utilizing a “Launch new Chrome” action
  5. Observe how a new instance of Chrome is opened, and the respective web page is loaded, but the Flow appears stuck on this first step, never proceeds to the next step, and never reports an error

The Reason for the Behavior

What’s the culprit? The issue is the use of multiple profiles in Google Chrome, and having multiple profiles opened at the same time. In essence, Power Automate Desktop is launching another instance of Google Chrome within the secondary profile, but the rest of your Flow is expecting to interact with the Default profile. This results in the disconnect after the initial browser launch, as the browser that is launched is not the one that Power Automate Desktop was expecting to attach to.

How to Solve Power Automate Desktop Getting Stuck after Launching a new Browser

There are a couple quick options to resolve this issue:
  1. Avoid utilizing multiple browser profiles while testing in Power Automate Desktop
  2. Launch a different type of browser within Power Automate Desktop than the one you are currently utilizing on your workstation (i.e. I utilize Google Chrome normally for browsing so I use ‘Launch new Microsoft Edge’ in Power Automate Desktop when testing)

I hope this has been helpful, and looking forward to posting more tips and tricks around Power Automate Desktop (RPA).

Cheers,
Matt

Matt Jimison

Microsoft 365 Geek - Husband, father, lover of basketball, football, smoking / grilling, music, movies, video games, and craft beer!

3 thoughts on “Power Automate Desktop Stuck after Launching New Browser

  1. I had the issue Power Automate Desktop Getting Stuck after Launching a new Browser, the problem was fixed by adding the Edge browser extension for Power Automate Desktop. My guess is I hadn’t added it when I initially installed PAD.

    1. Thank you Lawrence! Your comment helped me fix my issue with Chrome. I had the extension installed, but it decided to disable it at some point. It started working as soon as I re-enabled the extension.

Leave a Reply

Your email address will not be published. Required fields are marked *