I have installed google browser extension on my MAC and i have created an RPA for test website of loan application by UiPath. When I run the automation, the webpage opens in new browser window but it is not able to enter text into fields and the job is failing with the message “Cannot communicate with the browser.
Make sure that the UiPath extension is configured.”
Can someone help me on this issue
On macOS, this error usually means the UiPath Chrome extension is not properly connected to Studio.
- In UiPath Studio → Tools → UiPath Extensions
- Uninstall Chrome
- Reinstall Chrome
- Restart Chrome + UiPath + Mac
On Mac, Chrome extension also needs a native host.
- Quit Chrome and UiPath
- Reopen UiPath
- Reinstall extension again from UiPath
- Then restart Mac (important)
Regards,
Gokul
UiPath doesn’t support web UI automation on macOS. The browser may open, but UiPath can’t interact with elements, causing this error. Run the automation on Windows (or a Windows VM) or use APIs instead.
Hi @Monali_Vekariya @Nainani_Vinita
UiPath supports macOS UI Automation, both Browser automation and Desktop automation. More information is available on this page:
Browser automation on macOS is supported for Chrome and Safari.
@Nainani_Vinita If you worked on Chrome, probably you installed the browser extension when you designed the automation in Studio Web, using the Install extension button in the Use Browser activity. This extension can be used to indicate UI elements in a web page opened in the same browser as the one where Studio Web runs.
But if you want to run the automation locally, either from Studio Web using the Debug on local machine option, or on the local macOS Robot via UiPath Assistant, there’s one extra requirement: the Chrome extension needs to be installed from UiPath Assistant, as described here: Studio - Chrome Extension on Mac.
This is because local runs rely on the Native Messaging Host to enable the communication between the Robot and the UiPath Extension for Chrome. And the native host is installed only when the Chrome extension is added through the UiPath Assistant.
Please check whether the extension for Google Chrome was installed from UiPath Assistant on your machine and let us know if it works.
Since you are working on automations on Mac with Studio Web, I think you might also find this video useful.
Best regards,
Luiza