UiPath is pointing To Old Tab(Chrome browser creates new tab however switches back to original tab)

Hi All,

In my automation scenario , the bot clicks to a link and it opens a new browser where it should interact however the points to the old tab and it fails . How to make the bot interact to the new tab instead of pointing to old tab

Are you attaching the new tab before doing further actions?

@Raj_esh

No I am not attaching the new tab.

Try attaching new tab , also check the old and new tab url/ selector

@marina.dutta

You can use this to get active window and then attach to it

Also try checking the url prameter that would control as well

Cheers

Hi @marina.dutta

A simple solution for this query is to use another Use application/browser activity for the new page in the browser.

Check below steps,
→ After click activity which is redirecting to other page.
→ Drag and drop an Use application/browser activity and indicate the new page.
→ If URL keep changing remove the URL, Make field empty.
→ Open properties of Use application/browser activity. Follow below options,
Close → Never
Open → Never
Window attach mode → Application Instance

Hope it helps!!

@mkankatala

Tried but again its pointing to previous window instead of new window

Try to indicate the new page which is opening when clicking on a button or element (not the Google hompage).

Then remove URL and show the selector of Use application/browser activity… @marina.dutta

Hope you understand!!

Is this your new tab opened ?

I believe when you click next a new tab opens and you need to go to that tab and do further actions .
For this you need to point use application to the newly opened tab