How to handle the "Enhanced ad privacy in Chrome", which usually happens up on upgrading to latest version of Chrome?
Issue Description: How to handle the "Enhanced ad privacy in Chrome" pop-up, which usually happens up on upgrading to latest version of Chrome. Due to the below pop-up UI Automatons fails to run while interacting with the browser.
Root cause: The Enhanced ad Privacy in Chrome is not something that the UiPath is controlling. This pop up was introduced from Chrome 111+.
Resolution: The pop-ups can be disabled using "PrivacySandboxPromptEnabled" Group Policy.
If this policy is set to Disabled, then Google Chrome won’t show the Privacy Sandbox prompt. If this policy is set to Enabled or kept it unset, then Google Chrome determines whether the Privacy Sandbox prompt can be shown or not and then shows it if possible.
If any of the following policies are set, it is required to set this policy to Disabled:
PrivacySandboxAdTopicsEnabled
PrivacySandboxSiteEnabledAdsEnabled
PrivacySandboxAdMeasurementEnabled
- true = Allow Google Chrome to determine whether to show the Privacy Sandbox prompt
- false = Do not show the Privacy Sandbox prompt to users.
Note: Check with the internal IT Team (System Administrator) who manages the GPOs.
- Open Registry Editor.
- Navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome".
- If you don't see the "PrivacySandboxPromptEnabled" -> Create a new DWORD (32-bit) Value -> Provide to it the value 0 (in Decimal) or 0x00000000 (in Hexadecimal).
- Restart the machine to apply the change.
For more Details about the Registry info for the Chrome browsers, refer to the below links:
- Privacy Sandbox Ad Prompt Enabled.
- Privacy Sandbox Site Enabled Ads Enabled.
- Privacy Sandbox Ad Measurement Enabled.
Contact UiPath Product Support: If the issue persists, create UiPath Support Ticket for further troubleshooting.
Ensure to provide/ attach the below list of details in the ticket being created,
- A screenshot of the pop-up.
- Version of the UiPath Extension.
- Version of Studio, also UiPath.UIAutomation.Activities
- If you are not on the latest version of the UiPath.UIAutomation.Activities - Let us know behaviour.
- Export the Chrome policies - Open a browser, type in "Chrome://Policy" --> Export as JSON. - Share it to the ticket.
- Would also be helpful if you can export the Chrome Policy from the Registry Editor.