Switch from one tab to another in same browser

hi,
Please anyone can provide proper example to read data from one tab and use that data in another tab of the same browser. here consider in both tab website is different …we need to switch from one tab to another using uipath.

1 Like

You can simply extract the data from one tab and click on the second tab at the top of the browser to use that data.

What browser are you working in?
In Google Chrome - CTRL + SHIFT + TAB will send you to the next tab.
In IE - CTRL + TAB will send you to the next tab.

1 Like

Hi
welcome to uipath community
We can use Send hot key with key as ctrl+Shift+tab
That would help us to navigate between the tabs opened in same browser
Kindly try this and let know for any queries or clarification
Cheers @kruti_kapadia

1 Like

@kruti_kapadia,
Welcome to our community!
Thank you for posting your query in UiPath Developer Forum.

You can use Send Hotkey activity to switch the tabs with the Key Combination of Ctrl+tab.

1 Like

@Palaniyappan Its like a race of who can answer a new post first :stuck_out_tongue:

2 Likes

Haha
@TimK

1 Like

Hi @kruti_kapadia

If you want to switch from a tab to another regardless its position, you can use the “activate” activity by selecting any element in the page that you want to switch to.

Regards,
Reda

1 Like

thanks all for the reply , but i think i am not clear with my question … i want to open one website in one tab and another website in other tab then want to switch from one tab to another then again go to original tab.

If you are using chrome then Ctrl-1 will open the first tab, Ctrl-2 the second tab, etc. If you know the order your tabs were opened in, you can then easily stick focus between them. As an added bonus if you are looping through code, Ctrl-2 will do nothing if there is only one tab open, so you can always precede a web based action with the relevant Ctrl-# to be on the tab you need

2 Likes

@Palaniyappan I am trying to change the tab and then make a “click” on a button in that new tab. In that case do I need new “Use Application/Browser” activity with new URL of that new tab?
If so, can I open that new URL in the same window so that there no log-in issues?