Chrome extension is NOT working with Chrome 64 bit v63 and v64

studio

#1

I’ve gone thru many cycles of installing / uninstalling the Chrome extension, but it simply won’t work.
I’m running on Windows 7 64 bits, on two different computers, one with Chrome 64-bit version 63 and the other 64.
Running with the latest extension in the store (9.0.6421). Not sure it’s significant, but the extension toolbar icon is gray, not blue.

I have the extension configured with both checkbox options checked.
The extension’s trace window shows the following in the console:
OnPageLoad not available; retry in later (this is in Loader.js:41)

When I try to select a screen element for the GetFullText action, I get different behaviors on the two machines (but neither one works correctly).

On one machine (Chrome 63), the whole page gets selected, but the child elements are not. When I click on the desired element (an H3), the Chrome Dev tools console shows the following:

Error in event handler for runtime.onMessage: ReferenceError: GetPageRenderOffsets is not defined
Error in event handler for runtime.onMessage: ReferenceError: N_TRUE is not defined

And the extension’s trace shows:

Unchecked runtime.lastError while running tabs.executeScript: The extensions gallery cannot be scripted.
at onGetHtmlAttribute (eval at (chrome-extension://dpncpimghfponcpjkgihfikppbbhchil/Loader.js:161:9), :1569:15)
at chrome-extension://dpncpimghfponcpjkgihfikppbbhchil/Loader.js:96:6
2VM39:343 ExecuteWithRetry: timed out while waiting to execute ‘onGetWindowIdForTabId’

On the other machine (Chrome 64) I’ve gotten various behaviors. Sometimes only the full page gets selected, or sometimes the right field is selected, but when I click on it, UiPath pauses for a long time, then displays the dreaded COM error.
extension trace shows:

Unchecked runtime.lastError while running tabs.executeScript: Cannot access a chrome:// URL
at Object.eval [as callback] (eval at (), :1724:19)

Both IE and Firefox are working fine for me, so this is unique to Chrome.


Chrome Extension Install Issues on VM with just UiRobot
#2

#3

You should install the Chrome extension from UiStudio / Setup / Setup Extensions / Chrome


Chrome UI plugin not working
#4

Of course this is what I did. How else would I have gotten the extension??


#5

@stevefuzzy most of the time this is related to Dot.Net version in your machine.
Please make sure you have latest version (4.5 or above) of Dot.Net and you will not face any issues with extension.


#6

@stevefuzzy sorry for the misunderstanding
did you have a chance to check the steps in Chrome Extension Troubleshooting Guide?

Is ChromeNativeMessaging.exe running once you open Chrome browser?
What is the version of UiPath that you are using?

Adrian.


#8

Thanks, yes I tried all the steps in chrome extension troubleshooting. Basically the suggestion is to turn tracing, which is what I did, and included in my original post. However, that tracing info did not help me in determining the root cause.
I have the latest .net version


#9

Hi Adrian,
Yes ChromeNativeMessaging.exe is running
using UIPath v 2018.1.2
The troubleshooting steps have not addressed the issue. And the last resort is turning on tracing, which is what I’ve done, and included in my original post.

Thanks


#10

Hi Steve,
I could only reproduce the error logs you posted on the chrome extensions page, but not on a webpage e.g. www.google.com . It could be a permission blocking eval.call for the website you are trying to automate. Can it generate selectors for google.com?