Troubleshooting
You need to use at least Firefox version 52.0 to perform browser automations.
This topic presents the most frequent reasons why the UiPath® Extension for Firefox might not work properly, and how to solve these issues.
Extension on older Firefox versions
Description
Mozilla introduced an extension signing verification algorithm in Firefox, which disables add-ons for Firefox version 65.0 and lower. As such, if you install the UiPath Extension for Firefox on the browser version 65.0 or lower, the following error message is displayed:
This add-on could not be installed because it appears to be corrupt.
Solution 1
Update Firefox to version v66.0.4 or higher.
Solution 2
Starting with Studio 2020.8, the Firefox extension is newly signed and it should be properly installed on older versions of the Firefox browser.
Checking the extension
Check if the UiPath Extension for Firefox is installed and enabled:
- In Mozilla Firefox, go to about:addons > Extensions.
- If the extension is not present, install it as explained here.
- Make sure the UiPath Extension is updated to the latest version.
To prevent possible issues:
-
In Mozilla Firefox, go to about:addons > Extensions.
-
Open Task Manager or Process Explorer.
-
Check if the
ChromeNativeMessaging.exeprocess is running.noteA separate
ChromeNativeMessaginginstance is running for the Chrome extension, so you need to close Google Chrome when performing this check.If
ChromeNativeMessagingis not running: -
In Mozilla Firefox, go to about:addons > Extensions.
-
Remove the UiPath extension manually by clicking the Remove button.
-
Reinstall it as explained here.
In case the above information did not solve your issue, you can try getting additional information by viewing traces and analyzing the errors thrown by the UiPath extension. The following are types of traces you can collect and analyze:
For the general extension traces in Mozilla Firefox:
Go to Open menu > Web Developer > Browser Console (Ctrl+Shift+J). The Browser Console is displayed. All the errors generated by the extension are displayed here.
For traces generated by the web page you want to automate:
Go to Open menu> Web Developer > Web Console (Ctrl+Shift+K). The Web Console is displayed. All the errors for the current web page are displayed here.
For full traces, (not only errors) do the following:
-
Open the Registry Editor.
-
Navigate to the
HKEY_CURRENT_USER\SOFTWARE\UiPathkey. -
Double-click the WebExtensionTrace REG_DWORD value. The Edit DWORD Value window is displayed.
-
In the Value Data field, change the value to 1, and click OK. The value is saved.
noteIf the
WebExtensionTraceREG_DWORD value does not exist, you have to create it, by right-clicking the right panel, selecting New > DWORD (32-bit) Value, and providing the values mentioned above.Check if there is some data missing in the Registry Editor:
-
Open the Registry Editor.
-
Navigate to the
HKEY_CURRENT_USER\SOFTWARE\Mozilla\NativeMessagingHosts\com.uipath.chromenativemsgkey. -
Open the
(Default)REG_SZ value. The Edit String window is displayed and should contain a path similar toC:\Users\YOUR_USER_NAME\AppData\Local\UiPath\uipath-ff.json. -
Open the .json file at the path found above with a text editor, such as Notepad++.
-
Check that the path property correctly points to where
ChromeNativeMessaging.exeis located, similar toC:\Program Files (x86)\UiPath Studio\UiPath\BrowserExtension\ChromeNativeMessaging.exe.
Multiple browser profiles
Starting with UiPath version 2023.10, the UiPath Extension for Firefox supports automating multiple browser instances running with multiple user profiles at the same time.
Automating multiple browser profiles requires UiPath.UIAutomation.Activities v23.10 or newer and browser extension installed with UiPathStudio.msi v23.10 or newer.
Opening the browser with a specific profile is now possible when using the Use Application/Browser activity. To specify a profile at browser start-up, you must append an argument to the browser command line. To do so, use the Arguments property in the Unified Application Target input section.
For Firefox, the required argument is: -profile "full_profile_path". To retrieve the full profile path, navigate to about:profiles and retrieve the Root Directory for that profile.
