Automatically Accepting The Browser Access Dialog

Steps to configure to automatically accepting the Browser access dialog.

There are two pop-ups when Robot JS, is tried to be used

  1. Browser access dialog
  2. Robot consent dialog

To automatically accept the browser access dialog, make the below changes based on browser.

Configuration for Edge: Either add the group policy or registry as below. refer below documentation for more details.


Group Policy (ADMX) Information

  • GP unique name: URLAllowlist
  • GP name: Define a list of allowed URLs
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx



Windows Registry Settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge\URLAllowlist
  • Path (Recommended): N/A
  • Value Name: 1, 2, 3
  • Value Type: list of REG_SZ

Reference: URLAllowlist .

Configuration for Google Chrome:

Add the URL in the below registry location.

  • Software\Policies\Google\Chrome\URLAllowlist

Reference: URLAllowlist .

Screenshot of registry changes:



Robot Consent Dialog:
For automatically accepting Robot consent dialog pop-up, add below system environment variable and do a system restart for change to be reflected.

  • UIPATH_ROBOTJS_ALLOWLIST
Reference: Robot Consent Dialog .