Still working on Update Client Hash. Had things working and now they aren’t.
Created the login.xaml as suggested and it was working, now I get an error. Tried to create new Attach Browser and it’s the same error.
RemoteException wrapping System.ArgumentException: Value does not fall within the expected range.
at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
I honestly never use other browser that is not Internet Explorer, I don’t consider the other browsers reliable. I suggest making your robots in Internet Explorer even though we can automate easily in other browsers also by doing this you won’t need to install any extensions.
I hear you about IE v Chrome but I already completed the exercise in Chrome. Suddenly, parts of it aren’t working after them working just fine a week or two ago.
Basically, I would have to start over if the answer is to use IE. At this moment, I’m not willing to do that.
the answer is not to change everything, you can use any of the supported web browsers, i never seen that error, so sometimes a simple studio or pc restart fix weird errors…
Any reason where there are two Attach Browser activities? The selector is validating on my end for the first attach Browser . You can perform all the activities in the Do container (highlighted Yellow) of the first activity. I don’t know for sure if that is causing issues because the Do container of the first Attach Window is empty . Is the Robot expecting something in that empty Yellow area?
From what I see, the selectors for both the Attach Browser containers seem to be pointing to the same window.
You have to remove and add the Chrome extension completely
Enable Extension permissions
Restart Chrome
Restart UiPath
Your selectors are pointing to the Chrome Window object and they will keep failing as Chrome keeps auto-updating in the background and changing its window definitions. This will cause the Chrome extension to not work reliably.
<wnd app='chrome.exe' omit:cls='Chrome_WidgetWin_1' title='ACME System 1 - Account - Log In - Google Chrome' />
<wnd omit:cls='Intermediate D3D Window' />
The Chrome extension expects you to click on the “Tab” of the window. For IE, you will need to click on the Browser window area. This is the key difference between using these two Browsers.
Here’s how your Chrome selector will look if you did that:
I had two Attach steps to test the selector. I was seeing if anything would work. Neither of them worked for me.
I tried again this morning and I get the same error from before.
Here is the error:
RemoteException wrapping System.ArgumentException: Value does not fall within the expected range.
at UiPath.Core.Activities.ScopeActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
I will close this out. This was a lot of bad things happening all at once.
My extension in Chrome got uninstalled. I don’t know how that happened. It took someone with elevated privileges to restore it.
UIPath updated itself, switched out of beta mode, and didn’t restore or use the libraries the new version wanted. This is the third time that it has updated but the update wanted new libraries and it didn’t update them as well.
I appreciate all of the help but in the end, UIPath, to me, didn’t give me good information. Instead of saying it couldn’t connect/communicate or see Chrome, I get this weird error. It took a long time for me to check that extension, since it wasn’t mentioned and had been working. Instead of updating itself to the new libraries it wanted, or giving an error about that, it kept running but giving, again, bad error information to me.
As you can tell, I’m not happy with UIPath at the moment but wanted to update this issue in case any others are seeing it.
Aaaaand this is happening. Again. UIPath extension is there but Community version switched out of Preview (beta) mode. I’m hoping a reset fixes this again.
@jgoranso, the UiPath Chrome extension has two components, thus it must be installed from Studio and not from Chrome Web Store: one components gets installed in the browser and other one gets installed in the development system (NativeHostMessaging process).
Detailed documentation here: Chrome Extension Troubleshooting.
Thus I recommend installing the Chrome extension via Studio->Home->Tools->Chrome and verify if NativeHostMessaging process is running in your system:
The below steps worked for me when I got the wnd instead of html.
Open the chrome browser, click the three dots on the right top (options)–>More tools–>Extensions
Choose the “Remove” option for the “UiPath web automation”
Go to Studio—>Home—>Tools—>install the extension for chrome (this is prompt you to “End” all the chrome processes and click ok. But do not click on the ok yet)
Go to task manager, select all the chrome processes and click “End Task”
Go back to the studio and click on the “Ok” button now
open a new chrome browser and type “chrome://restart” to restart the browser
Now in studio, if you attach a browser, we would get html instead of wnd. Hope this helps.