I have a very simple process that opens a web browser and perform some “type into” activities, very basic automation but my problem arise when I open a new tab with the same URL and try to use the same “type into” that I used on the previous tab…
example :
– Bot goes to : https://forum.uipath.com/ and type into HELLO in search box
– Bot creates new tab with URL https://forum.uipath.com/
– Bot goes to new tab just created
– here the problem, the Bot cannot type HELLO in search box of the tab he is currently in, what he does instead he goes back to the first tab and type HELLO again… I even tried to use a 5 seconds delay in case the bot had no time to see the selector it must type into in the new tab but it does not matter the bot goes back to the 1st tab regardless of any delay…
What can I do to teach the bot that the search box of the new tab is where I want him to type into and to not go back to the 1st tab ?
Basically, we need to re-attach browser for new tab. So do you use type into with full selector or partial selector and Modern or Classic?
We might also need to take care for title attribute for the new page.
If we use OpenBrowser and use TypeInto or Click etc with partial selector inside its container as your xaml, it always targets same tab. So we need to exit its container and re-attach new browser tab as the following, for example.
I am also struggling with same problem. It seems since the url is same in each tab, uipath cant recognise the second tab, i also gave a variable to each attach window, still it is not working.