I recently got UiPath and I have encountered this problem fairly early on.
I open a site in Chrome using “Open Browser”, login to that site, and then open another tab using “ctrl t”, navigate to a URL, and login to that site as well.
However, after the new tab is opened, all the actions I want done on the new tab are done on the first tab. From what I can tell, I can’t seem to attach browser to the new tab, and I can’t seem to type into the search bar because the selectors won’t validate.
Buddy i think the issue is all because the page is not getting recognized thus selectors are getting recognised. If there is no chrome extension available, you would have not performed activities in first page of the browser in first tab (as you mention)
So kindly add attach browser activity before you navigate to different URL in a browser. Or
kindly add attach window activity before navigating to each page in same URL.
Lets try this and sort this out together, This can be easily resolved
The only selector that will validate on a new tab is app chrome.exe, but then it will do the actions I want done in the first tab instead of the new tab. And even though I have the attach browser and window, I set up a try catch to see what the problem was and I get this:
I feel like I am probably just missing something. Once again thank you for the help!
edit: I was using an existing browser variable. But even when I try to indicate the new tab on screen, it will run without error but still do everything in the first tab and nothing in the new tab
This topic presents the most frequent reasons for which the UiPath Chrome extension might not work properly, and how to solve these issues. Check if the UiPath extension is installed and enabled: 1. In Google Chrome, navigate to…
I would suggest to uninstall the extension - restart Studio - reinstall - restart again. And please check not to have two extensions installed.
and very next activty yo are using navigate activity to enter the url. so the page changes and window changes, where unless you mention the type into must be performed in this window or page, it wont find
the solution is
create a another attach window activity with the same selector of the very first tab attach window activity.
Now add this attach window activity with same full selector inside (ABOVE HIGHLIGHTED) that attach window next to the navigate url
mention all the followed activities inside this attach window activities.
I reinstalled the UiPath extension and it didn’t work. And the file does contain confidential information, so I tried to recreate the issue by remaking a similar process to share with you and doing the same thing I’ve done in the original program. And this time IT WORKED!
But I couldn’t get the the original process to work, even doing all the things you recommended. So I just created a new process and just redid everything I did in the original and it worked.
So unfortunately, I don’t know how it was fixed, maybe it was just a bug?