Yesterday my machine forced update to 22.4 (community stable release)
The update went well, studio opened my projects fine, and I reinstalled the Chrome plug-in to match the new version.
My test robots start, interact with user, open excel - all fine, BUT once a robot gets to a part where it opens a webpage in Chrome, a popup in the browser warns that “UIPath Web Automation 22.4” started debugging this browser"
Symptoms:
The web part of the automation starts by opening a page and typing text into a field and clicking search. Opening the browser/page works fine, typing the text works fine, but clicking the search sits and waits/fails, and the debugging message pops along top edge of page.
I removed and reinstalled extension (again)
I found a UIPath article describing some similar common issues…
I’ve confirmed that “ChromeNativeMessaging.exe” is running
I’ve enabled access to file URLs and Incognito mode as described.
I confirmed no other Chrome instances or profiles are open or running
I had UIPath on another test machine and it suffered the same fate when I logged in and it forced the update there too.
I’d REALLY appreciate if someone has already had similar issue and found the resolution!
I can confirm that this has happened to me just yesterday. A short video of it can be found at the end of this tutorial. The popup does not stop the automation, but the chrome extension and the PC needed to be restarted.
Thank you for the reply. The video does show the same debug message I receive, so I was hopeful rebooting would do the trick, I have done so and it still has the debug message.
While it does TYPE on the webpage, it does not click, so it is certainly impaired and not just cosmetic.
My bad. I did not menn the issue was fixed after a reboot. The extension did not come back up after the auto update so I choose to restart the machine.
The click on that hyperlink in the video worked on my end but I have not tried actively left clicking on an element. I used the modern experience (Openapplication/browser activity)
This issue still persists in the community version of UiRobot/Studio
Having uninstalled and reinstalled (current) a couple of times with reboots between, I decided to try installing an old version again briefly - (I had 21.10.5 installer) Even knowing it will require update nearly immediately.
Installing 21.10.5 and it’s matched plug-in did restore all Chrome web functionality, so I can confirm the issue is specific to the 22.4.0 update.
PM’d to set up zoom/teams which might be beneficial (I can’t directly share the code)
I suppose it is possible the new plug-in only has issue with specific selector methods or calls…
The popup is not shown if the extension is installed via group policy. Here are specific instructions on how you can achieve this. Keep in mind, you need admin privileges to be able to install it this way.
In my case the installation path is not as described in the programs folder but in Appdata (per user) and maybe that’s the cause that created the problem, but I simply clicked update when prompted by UiPath (it didn’t ask if per user or as administrator).
I have the same error after updating to 22.4 community stable release and all my bots have stopped working but I do not understand how to install using group policies as suggested in the link. Can somebody make a detailed description how to solve this problem?
Write this replacing < installation path > with its own path where uipath is installed (and if there are spaces in that put " before and after the whole path). You can find it by doing open file path on the uipath shortcut and repeating this until you find the. exe:
cd < installation path > cd UiPath SetupExtensions.exe /chromepolicyglobal
Done. No needed the others commands written in the link.
@Werve - This 98% resolved my issue!
I’m going to be a bit more explicit in steps for those trying to follow:
From the workstation I followed these steps:
Opened Chrome and REMOVED/Uninstalled the broken Chrome Extension.
Close Chrome
In Start menu, I right-clicked Studio shortcut, clicked More>Open File Location
One layer deeper, I right-clicked the Studio shortcut again, selected >Open File Location
That opened an explorer window in my case to…
C:\Users[my name]\AppData\Local\Programs\UiPath\Studio
Per Werve’s note, I went one layer deeper to
C:\Users[my name]\AppData\Local\Programs\UiPath\Studio\UiPath
I copied that path to clipboard.
Opened an Administrator command prompt.
(in Search box type Command, then right-click and choose “Run as Administrator”)
type CD [space] and paste in path from #5 above and press ENTER.
type SetupExtensions.exe /chromepolicyglobal
A dialog box comes up stating “The UIPath extension for Chrome was installed via policy per system.”
I opened Chrome and confirmed the plugin was reinstalled AND ENABLED. there was no need to enable it separately.
At this point, I decided to test my project again, THE DEBUG message WAS GONE!!!
NOTE TO ALL:
I did still have ONE remaining glitch: - the project was still hanging up at a specific Click (to search in the webpage) It was using a >click< action with “simulate click” option enabled, this option was previously working most reliably of options. I changed the option for this action from Simulate Click to >> Send Window Messages.
This resolved the remaining hang-up and the rest of my project ran as it did prior to the update.
I chatted with @gheorghestan and this is a topic that should provide more context:
The core of this issue comes from the fact that the Google’s new MV3 extension standard is not that great and offers less support than the old MV2. This combined with the fact that starting with 1/1/23 Chrome will not load MV2 extensions anymore makes this a tricky situation.
We are continuously looking out for new solutions in this area, but in the meantime you might indeed have to switch to Send Window Messages as a workaround.
And just to make it clear - the debug pop-up in Chrome is absolutely normal and has no real implication on the functionality of the UIAutomation.
This turned out to be a confusing coincidence where the plug-in debug warning began appearing at the same time the next step in my automation failed due to the update. So while I was trying to solve the popup (thinking everything was broken) it was a co-symptom of the Chrome MV3 “upgrade” which made my simulated click no longer work…
Glad to be back in business, and I do hope something can be done to smooth the install routine for the plug-in upon upgrade… THANKS AGAIN to all in this thread.