How to open multiple tabs in the same browser window?

I am trying to built web automation which include multiple websites and i need to open all the websites in single browser window.

@Naveen_Chowdary

Please try this

Cheers

@Naveen_Chowdary
you can use the “Open Browser” activity for the first tab and then use the “Navigate to” activity to open additional tabs in the same browser window

You can use use applictaion/browser Activity and use “navigate to” or go to url activity to open additional tabs with the same browser window.

Hello @Naveen_Chowdary

  1. Use the Open Browser activity first.
  2. In the URL field give the first URL you wish to open.
  3. To open additional websites in the same browser window, you can use the Navigate To activity within the same Open Browser scope. Add the URLs of the additional websites in the URL field of the Navigate To activity.

Or else, you can store all the website urls in an Excel and use for each row to open all the urls one by one

Hope it helps :slight_smile:

Hi,
you can create workflow as below
use open browser activity and then use navigate to

The following worked for me in order to open two tabs with two different URLs - you could add a loop or copy/paste and adjust accordingly:

1) Inside a Sequence, add a “Use Application/Browser” Activity (Chrome) and inside the Browser URL field, I pasted between “” the 1st website link.

2) In the “Properties” section of this activity, I added an “Output Element” which is a variable called “strBrowser”, and then the following “Options”:

3) After that activity, the next one I added was a “Keyboard Shortcuts” Activity, and I configured its properties so that you don’t need to point at an application for it to know where to press the keys, instead, there is an “Input Element” property I defined with “strBrowser”, which holds the object created when we opened the first google chrome link, and then afterwards just sending the “CTRL + T” combination.

4) I added another “Use Application/Browser” just beneath the “Keyboard Shurtcuts” one, and the Browser URL field this time I set it to: “chrome://newtab/

Then, inside the “Do” section of this activity, I added a “Go to URL” activity and just pasted between “” the 2nd link I wanted to access on that new tab generated on step number 3.

The “Options” I configured within this 2nd “Use Browser” activity are the same than the above shown in the image.

All of the above being said, this is the first scenario that works for me after reading for a while on this specific topic.

I wonder if this would work for automating a process which involve the use of multiple websites being open simulatenously and then executing certain actions on each tab and/or passing info from one to another - that’s still to be tested, but perhaps I will have more info. later when I keep adding on this activity.

Something equally important to note is that under the “Options”, I am using “Single Window” as the Windows Attach Mode, which could complicate things down the line. We should also try with “Application Instance” here if that in fact causes some issues when trying to execute a process on each tab.

I am fairly new to the forum and UiPath overall, but this is exciting stuff!! Thanks!