Skip to content

Commit 0b1e132

Browse files
authored
minor changes
1 parent 885b606 commit 0b1e132

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

support/power-platform/power-automate/desktop-flows/browser-automation/failed-to-assume-control-of-edge-chrome-firefox-error.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ The Microsoft Edge, Google Chrome, or Firefox web extension isn't installed prop
4242
- Execution of a desktop flow with one of the respective actions fails with the error message.
4343
- Web Recorder initiation for the specific browser shows the below message:
4444

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.":::
4646

4747
- The web extension might seem to be installed and enabled in the extension repository of the specific browser but the execution to be unsuccessful.
4848

4949
### Resolution
5050

5151
1. Install the respective web extension from the Power Automate for desktop designer.
5252

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.":::
5454

5555
2. Even if the extension seems installed and enabled, you need to remove it and reinstall it.
5656
3. Restart the browser.
@@ -65,7 +65,9 @@ Execution of a desktop flow with one of the respective actions fails with the er
6565

6666
### Resolution 1
6767

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).
6971

7072
### Resolution 2
7173

@@ -82,29 +84,29 @@ Use the Launch Browser action to start the process of the corresponding browser.
8284
- Initial URL: A default URL
8385
- Rest parameters can be set as desired.
8486

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.":::
8688

8789
3. Insert an error handling policy by:
8890
- Select the **On error** option in the action window:
8991

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.":::
9193

9294
- Select **Continue flow run** > **Go to next action** in the dropdown list, and then select **Save**.
9395

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.":::
9597

9698
4. Insert a new "Launch new browser" action of the same browser as step 1 and set up the parameters of the action:
9799
- Launch mode: Attach to running instance
98100
- Attach to browser tab: By URL
99101
- Tab URL: The URL inserted in step 1.
100102
- Variables produced: Replace the new browser variable with the name of the variable produced in step 1.
101103

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.":::
103105

104106
5. Select the **On error** option and take the following steps:
105107
1. Enable the **Retry action if an error occurs** option.
106108

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.":::
108110

109111
2. Set the number of times to **20** by selecting the number of times.
110112
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.
115117
- Navigate: To URL
116118
- URL: The URL you would like to navigate to.
117119

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.":::
119121

120122
### Resolution 3
121123

122124
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.
123125

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-
126126
1. Insert a new "Launch new browser" action as:
127127
- Launch new Edge
128128
- Launch new Chrome
@@ -134,28 +134,28 @@ In the **Launch new Edge**, **Launch new Chrome**, or **Launch new Firefox** act
134134
- Initial URL: A default URL
135135
- Rest parameters can be set as desired.
136136

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.":::
138138

139139
3. Insert an error handling policy by:
140140
- Select the **On error** option in the action window:
141141

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.":::
143143

144144
- Select **Continue flow run** > **Go to next action** in the dropdown list, and then select **Save**.
145145

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.":::
147147

148148
4. Insert a **Wait** action and set its duration to **90** seconds (adjust duration as needed).
149149

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.":::
151151

152152
5. Insert another "Launch new browser" action for the same browser used in step 1, and configure the parameters:
153153
- Launch mode: Attach to running instance
154154
- Attach to browser tab: By URL
155155
- Tab URL: The URL inserted in step 1.
156156
- Variables produced: Replace the new browser variable with the name of the variable produced in step 1.
157157

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.":::
159159

160160
## 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)
161161

0 commit comments

Comments
 (0)