Firefox Extension Problem - The extension was enabled but it cannot access

error: The extension was enabled but it cannot access the browser windows that were already open. Restart the browser before trying to use the extension – restarting does not help.

It is resolved, I’m posting it here just for info:

Give read permission of ALL APPLICATION PACKAGES, on “C:\ProgramData\UiPath"
Restarting browser may help, but be sure that robot service is already started.

Anyway it may not work in Private window, if you want so, you need to install extension for Current User (not using Group Policy) and then:

  1. Open: C:\Users\%USERNAME%\AppData\Local\UiPath\UiPath-ff.json

  2. Edit “path”: Instead of “C:\\ProgramData\\…

Put correct path in Program Files for file ChromeNativeMessaging.exe:

C:\\Program Files\\UiPath\\Studio\\UiPath\\BrowserExtension\\ChromeNativeMessaging.exe

*Note: escape \ with \\*
Mind Program Files (x86) for 32bit Studio

Also, may need to check:

  • “name”: "com.UiPath.chromenativemsg” if it is same in the registry - Computer\HKEY_CURRENT_USER\Software\Mozilla\NativeMessagingHosts\com.UiPath.chromenativemsg
  • “allowed_extensions”: [“”] if it is the same in C:\Users\%USERNAME%\AppData\Roaming\Mozilla\Firefox\Profiles\{current profile}.default\extensions
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.