Breaking News

UiPath Chrome extension

Recently, I’ve installed the UiPath Chrome extension. I found out that it was not working properly. So, I did some research to found out the cause and fix it.

I discovered I wasn’t the only person having this issue. Others reported the same problem.

UiPath Chrome extension

We detected that you are trying to capture in a browser and your extension is not enabled. Please enable UiPath extension before continuing.

So, the UiPath extension is enabled but you still get the Info message. I tried to reinstall the UiPath Studio. Then, to reinstall the Chrome extension. In the end, I restarted my machine. It didn’t work.

After more online research I found the solution. It was something related to Windows Registry.

UiPath Chrome extension troubleshooting

Check your Windows username
Check the Google Chrome version
Check if the UiPath Chrome extension is enabled
Check if the Chrome extension process is running
Reinstall the extension if the ChromeNativeMessaging.exe is missing
Get the UiPath Chrome extension ID
Check the Registry Editor – the solution

Check your Windows username

If your Windows username contains non-English characters and you have installed the UiPath Community Edition on your machine, search no more. This is the root of your issue. The Community Edition installs under C:\Users\[username].

The solution is to uninstall the Community Edition and install the Enterprise trial version. The later one installs under C:\Program Files(x86).

Check the Google Chrome version

Make sure you have the Google Chrome version 64 installed on your machine. From the Customize and Control Google Chrome menu select Help > About Google Chrome.

Check if the UiPath Chrome extension is enabled

From Chrome navigate to chrome://extensions/

Enable the following options: Allow in incognito and Allow access to file URLs.

Check if the Chrome extension process is running

Open Task Manager and look for the ChromeNativeMessaging.exe process under the Google Chrome Application. (in my case the process was missing)

Reinstall the extension if the ChromeNativeMessaging.exe is missing

Remove the Chrome extension and install it from the Studio. Open UiPath Studio, select Tools > Extensions > Chrome Extension.

The following message will appear:

UiPath Chrome extension was installed for current user. Make sure you enable it in Chrome (check chrome://extensions) and then restart the browser.

In some cases, even with a successful message, you end up finding that the extension was not installed. If this happens, install the extension from the Chrome web store. Search for ‘UiPath’ and install it from there.

Get the UiPath Chrome extension ID

Go to chrome://extensions/ and enable Developer mode.

Take note of the extension ID.

Check the Registry Editor – the solution

Open the Registry Editor. Use the following key combination Windows key + R to open the Run command and type regedit.

Navigate to Computer\HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts\com.uipath.chromenativemsg

The Default REG_SZ value points to a JSON file (in my case C:\Users\PC1\AppData\Local\UiPath\crx_manifest.json).

Open the file with Notepad and verify 2 things:

First, check the path property. The path should exist and point to the ChromeNativeMessaging.exe application. (in my case C:\Program Files (x86)\UiPath\Studio\UiPath\BrowserExtension)

Second, check the chrome-extension number under the allowed_origins property matches the ID of the Chrome extension. (in my case this was the issue. The chrome-extension number didn’t match the extension ID. After I replaced the value with the correct one, the UiPath extension started working. You can check the Task Manager again. This time the Chrome Native Messaging process was up and running.)

Let me know in the comment section below if this solution worked for you as well.

About Valeriu B

RPA Developer (UiPath certified)

Leave a Reply

Your email address will not be published. Required fields are marked *