I have a subflow that opens a browser link, performs a task, and then closes the browser. After that, another subflow opens a browser link and then closes it. However, Power Automate Desktop stops at the second subflow.
Can you share a screenshot of what the second subflow (the one that stops) looks like? Perhaps you are missing a Launch new Microsoft Edge action there. Or, you may have used it to create a new browser variable, but the action that fails may actually be using the one from the previous subflow that has already been closed.
So, pay close attention to whether you always launch the browser, as well as whether you use the correct browser instance variables in your actions.
-------------------------------------------------------------------------
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.
Looks that Close browser and Launch browser are timely too close beside each other or a delay in loading the browser extension has happened.
Copied an idea from Agnius that might help you here too:
“Try using Run application instead to launch the browser. Set "edge.exe" as the app to run and put your URL to the parameters field. Then use Wait for window to wait for the page to load, as the title of the page will be in the window title. So, you can wait for a specific window by using its title and class. When it loads, you can use Launch new Microsoft Edge to attach to the browser.
This is a thing I generally always use to launch browsers, because Chrome has been totally inconsistent with whether or not it loads the extension in time for PAD to think it launched properly. This approach has never failed me over the years that I've been using it.“
I need to wait for another 5 minutes for it to show up, then being gone quickly not able to click error details
I'll update when I able to get the error details
Hi,
Can you please elaborate what error you're getting during/after 2nd subflow?
Hi ColinLab,
what error handling do you have for the Click link on web page action?
Why do you need to open new browser sessions for each link? You can also use Go to web page action and keep the browser session open until end of the main flow.
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2