You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/power-platform/power-automate/desktop-flows/browser-automation/failed-to-assume-control-of-edge-chrome-firefox-error.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,15 +42,15 @@ The Microsoft Edge, Google Chrome, or Firefox web extension isn't installed prop
42
42
- Execution of a desktop flow with one of the respective actions fails with the error message.
43
43
- Web Recorder initiation for the specific browser shows the below message:
44
44
45
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/you-need-power-automate-desktop-extension.png" alt-text="A message that contains a Get Extension button to install the web extension.":::
45
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/you-need-power-automate-desktop-extension.png" alt-text="Screenshot that shows a message that contains a Get Extension button to install the web extension.":::
46
46
47
47
- The web extension might seem to be installed and enabled in the extension repository of the specific browser but the execution to be unsuccessful.
48
48
49
49
### Resolution
50
50
51
51
1. Install the respective web extension from the Power Automate for desktop designer.
52
52
53
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/browser-extensions.png" alt-text="Select to install the web extension from the list.":::
53
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/browser-extensions.png" alt-text="Screenshot that shows how to install the web extension from the list.":::
54
54
55
55
2. Even if the extension seems installed and enabled, you need to remove it and reinstall it.
56
56
3. Restart the browser.
@@ -65,7 +65,9 @@ Execution of a desktop flow with one of the respective actions fails with the er
65
65
66
66
### Resolution 1
67
67
68
-
In the **Launch new Edge**, **Launch new Chrome**, or **Launch new Firefox** action, increase the values of **Timeout on webpage load** and **Timeout** parameters located in the **Advanced** section. For example, set these values to **120** seconds. If this adjustment doesn't resolve the issue, follow the steps outlined below.
68
+
In the **Launch new Edge**, **Launch new Chrome**, or **Launch new Firefox** action, increase the values of **Timeout on webpage load** and **Timeout** parameters located in the **Advanced** section. For example, set these values to **120** seconds.
69
+
70
+
If this adjustment doesn't resolve the issue, follow the steps outlined in [Resolution 2](#resolution-2) or [Resolution 3](#resolution-3).
69
71
70
72
### Resolution 2
71
73
@@ -82,29 +84,29 @@ Use the Launch Browser action to start the process of the corresponding browser.
82
84
- Initial URL: A default URL
83
85
- Rest parameters can be set as desired.
84
86
85
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/parameters-of-launch-new-browser-action.png" alt-text="Set up the parameters of the Launch new browser action.":::
87
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/parameters-of-launch-new-browser-action.png" alt-text="Screenshot that shows how to set up the parameters of the Launch new browser action.":::
86
88
87
89
3. Insert an error handling policy by:
88
90
- Select the **On error** option in the action window:
89
91
90
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/insert-error-handling-policy-for-action.png" alt-text="Insert an error handling policy by using the On error option.":::
92
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/insert-error-handling-policy-for-action.png" alt-text="Screenshot that shows how to insert an error handling policy by using the On error option.":::
91
93
92
94
- Select **Continue flow run** > **Go to next action** in the dropdown list, and then select **Save**.
93
95
94
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/save-settings-on-error.png" alt-text="Select the Continue flow run and Go to next action options and then save the settings.":::
96
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/save-settings-on-error.png" alt-text="Screenshot that shows how to select the Continue flow run and Go to next action options and then save the settings.":::
95
97
96
98
4. Insert a new "Launch new browser" action of the same browser as step 1 and set up the parameters of the action:
97
99
- Launch mode: Attach to running instance
98
100
- Attach to browser tab: By URL
99
101
- Tab URL: The URL inserted in step 1.
100
102
- Variables produced: Replace the new browser variable with the name of the variable produced in step 1.
101
103
102
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/replace-variables-produced-browser.png" alt-text="Replace the new browser variable with the name of the variable produced in step 1.":::
104
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/replace-variables-produced-browser.png" alt-text="Screenshot that shows how to replace the new browser variable with the name of the variable produced in step 1.":::
103
105
104
106
5. Select the **On error** option and take the following steps:
105
107
1. Enable the **Retry action if an error occurs** option.
106
108
107
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/enable-retry-action-if-an-error-occurs.png" alt-text="Enable the Retry action if an error occurs option.":::
109
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/enable-retry-action-if-an-error-occurs.png" alt-text="Screenshot that shows how to enable the Retry action if an error occurs option.":::
108
110
109
111
2. Set the number of times to **20** by selecting the number of times.
110
112
3. Set the interval in seconds to **5** by selecting the number of seconds.
@@ -115,14 +117,12 @@ Use the Launch Browser action to start the process of the corresponding browser.
115
117
- Navigate: To URL
116
118
- URL: The URL you would like to navigate to.
117
119
118
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/select-parameters-in-go-to-web-page.png" alt-text="Configure the parameters of the Go to web page action.":::
120
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/select-parameters-in-go-to-web-page.png" alt-text="Screenshot that shows how to configure the parameters of the Go to web page action.":::
119
121
120
122
### Resolution 3
121
123
122
124
Use the Launch Browser action to start the process of the corresponding browser. Then a combination of an additional Launch Browser action with mode set to **Attach to running instance** and a **Wait** action set to a duration afterwards can be used to resolve the issue.
123
125
124
-
In the **Launch new Edge**, **Launch new Chrome**, or **Launch new Firefox** action, increase the values of **Timeout on webpage load** and **Timeout** parameters located in the **Advanced** section. For example, set these values to **120** seconds. If this adjustment doesn't resolve the issue, follow the steps outlined below.
125
-
126
126
1. Insert a new "Launch new browser" action as:
127
127
- Launch new Edge
128
128
- Launch new Chrome
@@ -134,28 +134,28 @@ In the **Launch new Edge**, **Launch new Chrome**, or **Launch new Firefox** act
134
134
- Initial URL: A default URL
135
135
- Rest parameters can be set as desired.
136
136
137
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/parameters-of-launch-new-browser-action.png" alt-text="Set up the parameters of the Launch new browser action.":::
137
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/parameters-of-launch-new-browser-action.png" alt-text="Screenshot that shows how to set up the parameters of the Launch new browser action.":::
138
138
139
139
3. Insert an error handling policy by:
140
140
- Select the **On error** option in the action window:
141
141
142
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/insert-error-handling-policy-for-action.png" alt-text="Insert an error handling policy by using the On error option.":::
142
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/insert-error-handling-policy-for-action.png" alt-text="Screenshot that shows how to insert an error handling policy by using the On error option.":::
143
143
144
144
- Select **Continue flow run** > **Go to next action** in the dropdown list, and then select **Save**.
145
145
146
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/save-settings-on-error.png" alt-text="Select the Continue flow run and Go to next action options and then save the settings.":::
146
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/save-settings-on-error.png" alt-text="Screenshot that shows how to select the Continue flow run and Go to next action options and then save the settings.":::
147
147
148
148
4. Insert a **Wait** action and set its duration to **90** seconds (adjust duration as needed).
149
149
150
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/wait-action.png" alt-text="Insert a Wait action with value set to 90.":::
150
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/wait-action.png" alt-text="Screenshot that shows how to insert a Wait action with value set to 90.":::
151
151
152
152
5. Insert another "Launch new browser" action for the same browser used in step 1, and configure the parameters:
153
153
- Launch mode: Attach to running instance
154
154
- Attach to browser tab: By URL
155
155
- Tab URL: The URL inserted in step 1.
156
156
- Variables produced: Replace the new browser variable with the name of the variable produced in step 1.
157
157
158
-
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/replace-variables-produced-browser.png" alt-text="Replace the new browser variable with the name of the variable produced in step 1.":::
158
+
:::image type="content" source="media/failed-to-assume-control-of-edge-chrome-firefox-error/replace-variables-produced-browser.png" alt-text="Screenshot that shows how to replace the new browser variable with the name of the variable produced in step 1.":::
159
159
160
160
## Cause 3: The browser is launched using a different system user than the one used to run Power Automate for desktop (version 2.38 or higher)
0 commit comments