StudioX Problem Working In Second Browser Tab

I use StudioX and I’m not able to run activities in a second browser.

Steps:

  1. I use the “Use Browser” activity to launch a website in Chrome
  2. I click on a hyperlink which launches a second tab (the URL for this second tab changes every time you launch the web browser).
  3. I see the second tab, but the bot then reverts back to the first tab to run the next activity.

How can I get the bot to run the next activity in the second tab?

Also, I looked at other topics here and I don’t have the “Activate” activity available.

1 Like

Hey @brandon.harris.63

What do you really want to do on the second tab opened please ?

And once you click the link will the newly opened will be in focus ?

Thanks
#nK

Hi

Welcome to UiPath forum

In that case we must use two Use browser activity one inside the another

Like in first placed activity we will mention the first page as element
Inside the same activity use another use browser activity and indicate the second web page you want

But as You said the web page might differ for each time use dynamic selector handling like wildcards or using variables in the selector

This support was added in the 20.10 release of StudioX. Instructions and a demo vido can be found in our docs at UI Automation

Cheers @brandon.harris.63

Hi!

After you clicked on the hyperlink this will open in new tab so if you want your bot to stay in that tab. can we use attach window activity to stay in that tab only.

Regards,
NaNi

The second window opens a report window. I have to click on a report and download it to my desktop.

Palaniyappan,
How do I “capture” the URL for the second tab when using the variable function?

THIRU_NANI,
Unfortunately, I do not have the attach window activity available in my StudioX version.