How to open new tab of the same browser

I want to open multiple new tabs (one by one) [say 5 for now] and execute specific actions: click, type into, etc, and submit each page one by one. Is this possible through UiPath?

This is much like a filling form by opening 5 new tabs and executing each tab(page) one by one.
PS: I know this activity (process) can be finished by using a loop (in the same tab) but I want to do it different tab because my process involves clicking certain events and it takes plenty of time to load certain click buttons that’s why I need to open multiple new tabs.


Please check this…

Hope this helps



How about using InjectJSscript as the following?

"function(e,v) {, '_blank').focus();}" (222.4 KB)



Hi @Samraat_Maharjan,

  1. Use the “Open Browser” activity to open a new browser window.
  2. Use the “Navigate To” activity to navigate to the website or page you want to open.
  3. Use the “Send Hotkey” activity to send the Ctrl+T hotkey combination to open a new tab.
  4. Use the “Attach Browser” activity to attach to the newly opened tab.
  5. Perform your desired actions on the attached tab, such as clicking on buttons or typing into text fields.
  6. Use the “Send Hotkey” activity to send the Ctrl+W hotkey combination to close the tab.
  7. Repeat steps 3-6 for as many tabs as you need to open and perform actions on.

Do I have to copy-paste the same code 3-6 times or can I do it using Loops?


You can do this in a loop and use variable for the url part which would be ideal to be used in the loop arguments as well…you can have a datatable with urls or a list of string type variable with urls and loop on them


1 Like