Problem with click or type into activity

Hi guys,

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 ?

Many thanks

Hi,

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.

Regards,

1 Like

Main.xaml (11.8 KB)

I did a version for uipath

my first send hotkey opens a new tab
my second send hotkey switch to right tab
The chrome extension that does this for me is AutoControl

And like I explained previously the result is this

If anyone could modify my program to make it work it would be much appreciated

Many thanks

Hi,

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.

This is just image flow because i couldn’t run your workflow.
We can also use full selector instead of attach browser.

Regards,

1 Like

thank you very much for this Sir, I will look into it :slight_smile:

A post was merged into an existing topic: Problem working with multiple browser tabs