Skip to content

Commit a826596

Browse files
authored
Updates from editor
1 parent 2189aaf commit a826596

5 files changed

Lines changed: 40 additions & 40 deletions

File tree

support/power-platform/power-automate/desktop-flows/browser-automation/file-uploader-click-issues.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Press Button or Click Link On Web Page Doesn't Work With File Uploader
3-
description: Solves issues related to interaction file uploader in web automation.
2+
title: Press Button or Click Link on Web Page Doesn't Work with File Uploader
3+
description: Solves issues related to interactive file uploaders in web automation.
44
ms.custom: sap:Desktop flows\UI or browser automation
55
ms.reviewer: amitrou
66
ms.author: amitrou
@@ -13,7 +13,7 @@ This article provides workarounds for scenarios where interacting with a file up
1313

1414
## Symptoms
1515

16-
When you use [Press button on web page](/power-automate/desktop-flows/actions-reference/webautomation#pressbuttonbase) or [Click link on web page](/power-automate/desktop-flows/actions-reference/webautomation#clickbase) action in web automation, the action doesn't work as expected if the button or link on the web page is part of a file uploader. For example, the following HTML element is an example of a file uploader:
16+
When you use the [Press button on web page](/power-automate/desktop-flows/actions-reference/webautomation#pressbuttonbase) or [Click link on web page](/power-automate/desktop-flows/actions-reference/webautomation#clickbase) action in web automation, the action doesn't work as expected if the button or link on the web page is part of a file uploader. The following HTML element is an example of a file uploader:
1717

1818
```html
1919
<SPAN style="font-size: 14px;font-style: normal;font-weight: 400">&ltinput type="file" /></SPAN>
@@ -23,16 +23,16 @@ When you use [Press button on web page](/power-automate/desktop-flows/actions-re
2323

2424
[Web automation actions](/power-automate/desktop-flows/actions-reference/webautomation) create or modify events through scripts, which inform the browser whether the event is trusted. For more information, see [Event: isTrusted property](https://developer.mozilla.org/en-US/docs/Web/API/Event/isTrusted).
2525

26-
For security reasons, browsers may restrict the simulation of events that trigger file upload operations. This restriction ensures that file upload actions are initiated by the user directly, rather than through programmatic JavaScript events.
26+
For security reasons, browsers might restrict the simulation of events that trigger file upload operations. This restriction ensures that file upload actions are initiated by the user directly rather than through programmatic JavaScript events.
2727

28-
As a result, the **Press button on web page** and **Click link on web page** actions may not work when interacting with file uploaders.
28+
As a result, the **Press button on web page** and **Click link on web page** actions might not work when interacting with file uploaders.
2929

3030
## Workaround
3131

3232
Try one of the following workarounds:
3333

3434
1. Use the [Press button in window](/power-automate/desktop-flows/actions-reference/uiautomation#pressbutton) action to simulate user input, bypassing the browser's event validation.
3535

36-
Capture the element using the **Press button in window** action or through a desktop recorder, instead of using a web element that's either captured from a web automation action or a web browser recorder.
36+
Instead of using a web element captured from a web automation action or a web browser recorder, capture the element using the **Press button in window** action or through a desktop recorder.
3737

3838
2. Use the **Click link on web page** action with the [Send physical click](/power-automate/desktop-flows/how-to/send-physical-clicks-web-element) option enabled.

support/power-platform/power-automate/desktop-flows/browser-automation/js-not-executed.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: Run Javascript function On Web Page Action doesn't execute but no error is reported
3-
description: Solves an issue where the Run JavaScript function on web page action isn't executed without indicating any error.
2+
title: Run JavaScript function on Web Page Action Fails to Execute
3+
description: Solves an issue where the Run JavaScript function on web page action isn't executed and returns no error.
44
ms.custom: sap:Desktop flows\UI or browser automation
55
ms.reviewer: amitrou
66
ms.author: amitrou
77
author: andreas-mitrou
88
ms.date: 04/01/2025
99
---
10-
# The "Run JavaScript function on web page" action fails to execute
10+
# The "Run JavaScript function on web page" action doesn't execute but no error is reported
1111

12-
This article provides a resolution for an issue where the [Run JavaScript function on web page](/power-automate/desktop-flows/how-to/populate-text-fields-click-links-javascript) action fails to execute the JavaScript code without indicating any error.
12+
This article provides a resolution for an issue where the [Run JavaScript function on web page](/power-automate/desktop-flows/how-to/populate-text-fields-click-links-javascript) action fails to execute the JavaScript code and doesn't indicate any error.
1313

1414
## Symptoms
1515

@@ -21,15 +21,15 @@ This issue can occur when a third-party web extension installed and enabled in t
2121

2222
## Resolution
2323

24-
To solve this issue,
24+
To solve this issue:
2525

26-
1. Temporarily disable all third-party web extensions in the browser, except for the Power Automate extension, to determine if the issue persists.
26+
1. Temporarily disable all third-party web extensions in the browser, except the Power Automate extension, to determine if the issue persists.
2727

2828
- [Turn off an extension in Microsoft Edge](https://support.microsoft.com/en-us/microsoft-edge/add-turn-off-or-remove-extensions-in-microsoft-edge-9c0ec68c-2fbc-2f2c-9ff0-bdc76f46b026)
2929
- [Turn off an extension in Google Chrome](https://support.google.com/chrome_webstore/answer/2664769)
3030
- [Disabling extensions in Mozilla Firefox](https://support.mozilla.org/en-US/kb/disable-or-remove-add-ons#w_disabling-extensions)
3131

32-
1. If disabling third-party web extensions isn't a viable option, you can replace the JavaScript code with a specific web automation action that involves physical interaction. For example:
32+
1. If disabling third-party web extensions isn't feasible, you can replace the JavaScript code with a specific web automation action that involves physical interaction. For example:
3333

3434
If the JavaScript code is designed to click an element using the `document.getElementById('elementID').click();` code, this code can be replaced by the **Click link on web page** action with the **Send physical click** option enabled.
3535

support/power-platform/power-automate/desktop-flows/browser-automation/web-automation-ie-issue.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: Failed To Assume Control Of IE Error
2+
title: Failed to Assume Control of IE Error
33
description: Solves an error that occurs when you use Internet Explorer as the browser for automation.
44
ms.custom: sap:Desktop flows\UI or browser automation
55
ms.reviewer: amitrou
66
ms.author: amitrou
77
author: amitrou
88
ms.date: 04/01/2025
99
---
10-
# "Failed to assume control of IE" error during web automation with Internet Explorer
10+
# "Failed to assume control of IE" error when using Internet Explorer for web automation
1111

12-
This article addresses an issue where users encounter a failure during web automation with Internet Explorer due to specific security settings.
12+
This article addresses an issue where users encounter a failure when using Internet Explorer for web automation due to specific security settings.
1313

1414
## Symptoms
1515

@@ -27,7 +27,7 @@ This issue might occur because the security settings in Internet Explorer aren't
2727
2. Go to **settings** > **Internet Options**.
2828
3. Navigate to the **Security** tab.
2929
4. Under the **Internet** section, clear the **Enable Protected Mode** checkbox.
30-
5. Select **Apply** and then **OK** to save the changes.
30+
5. Select **Apply** > **OK** to save the changes.
3131
6. Close and restart Internet Explorer.
3232

3333
For more information, see [Set up browsers in Power Automate](/power-automate/desktop-flows/install-browser-extensions#set-up-browsers).
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: UIPI Issues with UI and Browser Automation Actions
3-
description: Solves issues caused by User Interface Privacy Isolation (UIPI) that prevent the UI or Browser automation actions to execute successfully.
3+
description: Solves issues caused by User Interface Privacy Isolation (UIPI) that prevent UI or browser automation actions from executing successfully.
44
ms.date: 04/01/2025
55
ms.custom: sap:Desktop flows\UI or browser automation
66
ms.reviewer: amitrou
@@ -13,7 +13,7 @@ This article provides guidance for resolving issues caused by User Interface Pri
1313

1414
## Symptoms
1515

16-
Actions performing UI or browser automation may fail with an error message similar to the following:
16+
Actions performing UI or browser automation might fail with an error message similar to the following one:
1717

1818
> System.Exception: Some simulated input commands were not sent successfully. The most common reason for this happening are the security features of Windows including User Interface Privacy Isolation (UIPI). Your application can only send commands to applications of the same or lower elevation. Similarly certain commands are restricted to Accessibility/UIAutomation applications. Refer to the project home page and the code samples for more information
1919
@@ -23,7 +23,7 @@ Actions performing UI or browser automation may fail with an error message simil
2323

2424
## Cause 2: A UAC dialog is open during execution
2525

26-
**Solution**: Ensure that User Account Control (UAC) dialogs don't appear during automation. If necessary, temporarily adjust UAC settings:
26+
**Solution**: Ensure that User Account Control (UAC) dialogs don't appear during automation. If necessary, temporarily adjust the UAC settings:
2727

2828
1. Open the Control Panel.
2929
1. Navigate to **System and Security** > **Change User Account Control settings**.
@@ -32,12 +32,12 @@ Actions performing UI or browser automation may fail with an error message simil
3232

3333
## Cause 3: The RDP window is minimized during execution
3434

35-
**Solution**: Modify the system registry to prevent issues with minimized RDP sessions:
35+
**Solution**: Modify the system registry to prevent issues with minimized Remote Desktop Protocol (RDP) sessions.
3636

37-
[!INCLUDE [Third-party disclaimer](../../../../includes/registry-important-alert.md)]
37+
[!INCLUDE [registry-important-alert](../../../../includes/registry-important-alert.md)]
3838

39-
1. Close active Remote Desktop sessions.
40-
1. Press <kbd>Win</kbd>+<kbd>R</kbd>, type _regedit_, and press <kbd>Enter</kbd> to open the Registry Editor.
39+
1. Close the active Remote Desktop sessions.
40+
1. Press <kbd>Win</kbd>+<kbd>R</kbd>, type **regedit**, and press <kbd>Enter</kbd> to open the Registry Editor.
4141
1. Navigate to the following key:
4242

4343
**HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Terminal Server Client**
@@ -47,16 +47,16 @@ Actions performing UI or browser automation may fail with an error message simil
4747

4848
1. Double-click the entry to open the **Edit DWORD (32-bit) Value** window.
4949
1. Set the **Value data** field to **2**.
50-
1. Select **OK** to save changes and close the Registry Editor.
50+
1. Select **OK** to save the changes and close the Registry Editor.
5151

52-
## Cause 4: The application under automation is running in elevated mode
52+
## Cause 4: The application being automated is running in elevated mode
5353

54-
**Solution**: Ensure that the application being automated is not running with elevated privileges. If the application is set to run as an administrator, adjust its execution settings:
54+
**Solution**: Ensure that the application being automated isn't running with elevated privileges. If the application is set to run as an administrator, adjust its execution settings:
5555

5656
1. Right-click the application shortcut and select **Properties**.
5757
1. Go to the **Compatibility** tab.
58-
1. Uncheck the **Run this program as an administrator** option.
59-
1. Select **OK** to save changes.
58+
1. Clear the **Run this program as an administrator** option.
59+
1. Select **OK** to save the changes.
6060

6161
## Cause 5: The desktop screen saver is enabled
6262

@@ -65,26 +65,26 @@ Actions performing UI or browser automation may fail with an error message simil
6565
1. Open the Control Panel.
6666
1. Navigate to **Appearance and Personalization** > **Change screen saver**.
6767
1. Set the **Screen saver** option to **None**.
68-
1. Select **Apply** and then **OK**.
68+
1. Select **Apply** > **OK**.
6969

70-
## Cause 6: Windows Server Manager auto-starts on login, triggering UAC
70+
## Cause 6: Windows Server Manager starts automatically at logon, triggering UAC
7171

72-
**Solution**: Disable the auto-starting feature for Server Manager to prevent UAC prompts:
72+
**Solution**: Disable the automatic start feature of Server Manager to prevent UAC prompts:
7373

7474
1. Open Server Manager.
7575
1. Go to **Manage** > **Server Manager Properties**.
7676
1. Select the **Do not start Server Manager automatically at logon** checkbox.
77-
1. Select **OK** to save changes.
77+
1. Select **OK** to save the changes.
7878

79-
## Cause 7: Windows update or system configuration changes
79+
## Cause 7: Windows updates or system configuration changes
8080

8181
**Solution**: Review recent Windows updates or system changes and revert them if necessary to resolve the issue.
8282

8383
## More information
8484

8585
- For web automation actions such as [Click link on web page](/power-automate/desktop-flows/actions-reference/webautomation#clickbase) and [Populate text field on webpage](/power-automate/desktop-flows/actions-reference/webautomation#populatetextfieldbase), ensure that physical interaction options are disabled in the action parameters.
8686

87-
- "Populate text field on web page": Disable the **Populate text using physical keystrokes** option.
88-
- "Click link on web page": Disable the **Send physical click** option.
87+
- **Populate text field on web page**: Disable the **Populate text using physical keystrokes** option.
88+
- **Click link on web page**: Disable the **Send physical click** option.
8989

9090
- For UI automation, enable the [Simulate action](/power-platform/release-plan/2023wave2/power-automate/ui-automation--simulate-actions) parameter for eligible UI Automation actions and UI elements.

support/power-platform/power-automate/toc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@
6666
href: desktop-flows/browser-automation/web-extensions-policies.md
6767
- name: Web automation fails when machine runtime and MSIX versions are different
6868
href: desktop-flows/browser-automation/machine-runtime-msix-errors.md
69-
- name: Press button or click link on web page does not work on file uploader
69+
- name: Press button or click link on web page doesn't work on file uploader
7070
href: desktop-flows/browser-automation/file-uploader-click-issues.md
7171
- name: How to scroll on a web page
7272
href: /power-automate/desktop-flows/how-to/scroll-web-page?context=/troubleshoot/power-platform/power-automate/context/context
73-
- name: Run Javascript function on Web page action is not executed without any error thrown
73+
- name: Run JavaScript function on web page action doesn't execute
7474
href: desktop-flows/browser-automation/js-not-executed.md
7575
- name: Web automation fails in unattended mode
7676
href: desktop-flows/browser-automation/web-automation-unattended-failures.md
77-
- name: Web automation with Internet Explorer issue
77+
- name: Issues when using Internet Explorer for web automation
7878
href: desktop-flows/browser-automation/web-automation-ie-issue.md
7979
- name: Office automation
8080
items:
@@ -108,7 +108,7 @@
108108
href: desktop-flows/ui-automation/set-drop-down-list-value-fails.md
109109
- name: UI element highlighting or hovering issues in virtual desktops
110110
href: desktop-flows/ui-automation/ui-rdp-automation/rdp-no-highlight.md
111-
- name: UIPI issues with UI and Web automation actions
111+
- name: UIPI issues with UI and web automation actions
112112
href: desktop-flows/ui-automation/uipi-issues.md
113113
- name: '"Could not read the application certificate" error when creating a connection'
114114
href: desktop-flows/application-certificate-error.md

0 commit comments

Comments
 (0)