For an unknown reason, my Chrome Browser Extension stops working and disables UiExplorer ability to target website elements. The only fix is to use Task Manager to shut down all Chrome instances, and then to use the Tools->UiPath Extensions->Chrome to reinstall the extension. Then things continue to work again…for a few days.
After the UiPath Chrome Extension reinstallation:
I see the following dialog message (installed via policy per system.):
Chrome toolbar no longer shows the UiPath Extension icon.
Chrome manage extensions->UiPath Web Automation Extension toggle switch is disabled:
Really weird, but I think that this is external to Uipath, by the moment you can delete and reinstall replacing the toggle, but see if there’s any chrome configuration that does not allow you to toggle
Check to make sure your default preference file is not Read Only. LocalDisk, users, username associated with the environment you are on/AppData/Local/Google/Chrome/UserData/Default/and check the properties of Preferences. If it is read only any changes you make will not be saved. If you cannot get to this file and interact with this file then you have a group policy preventing the extension.
The toggle button is disabled when the extension is installed by Group Policy. That’s how Google implemented it and it kind of makes sense; if it’s a policy to have the extension, then the users shouldn’t be able to delete it.
It’s possible to install the extension using other means, see the documentation: Extension for Chrome
But if you install offline instead of policy you may run into the issue where the extension gets disabled again. Policy is more solid from this standpoint.
This definitely sounds like group policy (aka GPO) periodically updating on your machine (hence why it only happens every few days, as your machine resyncs itself) and changing some settings.
The “toggle UI ability is greyed out” (or sometimes, extension does not appear at all, even if installed) is usually a giveaway that something is being forced via GPO.
Generally, Chrome GPOs are set via Registry settings, so you can see them via Registry Editor (aka regedit.msc). Chrome settings will usually be under “Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome”.
DISCLAIMER for readers: Do NOT change anything in the registry, unless you know what you’re doing!
There’s some documentation around Chrome policies for UiPath here: Chrome Group Policies
Would recommend (1) browsing under that registry location to see what’s set on your computer (or check in Chrome via “chrome://policy”), (2) read about any settings you find on the Google documentation page, (3) discuss with your corporate security team if you need an exception or changed settings because something they have set is conflicting with your installed extension.
Thank you very much for your response. I’ve been researching this topic for the past few days and I believe your response is spot on!
Since this topic is much different than my initial question, I have posted a separate question in the forum and I hope someone has a proven way to address the issue: