|
1 | 1 | --- |
2 | 2 | title: Failed to assume control of Edge or Chrome or Firefox error |
3 | | -description: Provides a solution to the error that occurs when running a desktop flow that has a "Launch browser" action in Power Automate. |
| 3 | +description: Describes potential causes and solutions for an error that occurs when running a desktop flow that has a "Launch browser" action in Power Automate. |
4 | 4 | ms.reviewer: nimoutzo, jefernn, v-shaywood |
5 | 5 | ms.date: 04/09/2025 |
6 | 6 | ms.custom: sap:Desktop flows\UI or browser automation |
7 | 7 | --- |
8 | 8 | # "Failed to assume control of Microsoft Edge/Chrome/Firefox" error |
9 | 9 |
|
10 | | -This article resolves an error that might occur when you run a desktop flow that contains a Launch Browser action in Microsoft Power Automate. If the error occurs immediately after a browser update, see [Browser automation actions stop working after a browser update](./browser-automation-error-after-chromium-update.md) to determine whether you're experiencing those symptoms. |
| 10 | +This article provides guidance to resolve an error that might occur when you run a desktop flow that contains a Launch Browser action in Microsoft Power Automate. |
11 | 11 |
|
12 | 12 | _Applies to:_ Power Automate |
13 | 13 | _Original KB number:_ 5001691 |
@@ -54,7 +54,7 @@ Starting the browser takes longer than the Launch Browser action's default timeo |
54 | 54 |
|
55 | 55 | ### Solution 1: Increase timeouts |
56 | 56 |
|
57 | | -In the [Launch new Edge](/power-automate/desktop-flows/actions-reference/webautomation#launch-new-microsoft-edge), [Launch new Chrome](/power-automate/desktop-flows/actions-reference/webautomation#launchchromebase), or [Launch new Firefox](/power-automate/desktop-flows/actions-reference/webautomation#launchfirefoxbase) action, increase the values of the **Timeout on webpage load** and **Timeout** parameters that are located in the **Advanced** section. For example, set these values to **120** seconds. |
| 57 | +In the [Launch new Edge](/power-automate/desktop-flows/actions-reference/webautomation#launch-new-microsoft-edge), [Launch new Chrome](/power-automate/desktop-flows/actions-reference/webautomation#launchchromebase), or [Launch new Firefox](/power-automate/desktop-flows/actions-reference/webautomation#launchfirefoxbase) action, increase the values of the **Timeout for webpage to load** and **Timeout** parameters that are located in the **Advanced** section. For example, set these values to **120** seconds. |
58 | 58 |
|
59 | 59 | If this adjustment doesn't resolve the issue, try the steps in [Solution 2](#solution-2-use-a-go-to-web-page-action) or [Solution 3](#solution-3-use-a-wait-action). |
60 | 60 |
|
@@ -146,19 +146,19 @@ Use the **Launch Browser** action to start the process of the corresponding brow |
146 | 146 |
|
147 | 147 | :::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/replace-variables-produced-browser.png" alt-text="How to replace the new browser variable with the name of the variable produced in step 1."::: |
148 | 148 |
|
149 | | -## Cause 3: You start the browser by using a different system user than the one you use to run Power Automate for desktop (version 2.38 or higher) |
| 149 | +## Cause 3: Different user accounts for starting browser and running Power Automate for desktop |
150 | 150 |
|
151 | | -This issue can occur in attended and unattended desktop flow modes. |
| 151 | +You start the browser by using a different system user than the one you use to run Power Automate for desktop (version 2.38 or higher). This issue can occur in attended and unattended desktop flow modes. |
| 152 | + |
| 153 | +### Solution |
152 | 154 |
|
153 | 155 | To resolve the issue, make sure you start the browser by using the same system user account that you use to run Power Automate for desktop. |
154 | 156 |
|
155 | 157 | ## Cause 4: Browser doesn't start because of profile conflicts |
156 | 158 |
|
157 | 159 | The browser doesn't start, or it starts one time but doesn't start in subsequent attempts. Running a desktop flow by using a **Launch Browser** action fails, and the browser either doesn't appear or terminates immediately after launch. |
158 | 160 |
|
159 | | -Another session might be using the same browser profile. When you start a Chromium-based browser (such as Microsoft Edge or Google Chrome), the browser checks whether another instance is already using the same profile on disk. If another instance is using the same profile, the browser terminates immediately. |
160 | | - |
161 | | -This issue can occur if the same user signs in to multiple sessions on the same machine, and each session tries to open the browser. Only one session can successfully start the browser. The other attempts terminate on startup. |
| 161 | +This issue can occur if another session is using the same browser profile. When you start a Chromium-based browser (such as Microsoft Edge or Google Chrome), the browser checks whether another instance is already using the same profile on disk. If it is, the browser terminates immediately. If the same user signs in to multiple sessions on the same machine, only one session can successfully start the browser; the other attempts terminate on startup. |
162 | 162 |
|
163 | 163 | ### Solution |
164 | 164 |
|
|
0 commit comments