Problem switching tabs

Hello
I hope you are doing well. I have developed a functional RPA but I can’t get it to loop. I can’t go back to the previous tab once the first cycle of the process is finished.

I tried the keyboard shortcut but it doesn’t work.


No matter what I do, the selected tab stays the same. If I want to switch tabs, I have to click manually, which goes against the idea of automating.

I had thought about reopening the entire web page and starting the process again, but that would require me to log in each time, and sometimes there’s a Captcha, so human intervention would be necessary.

My goal is to return to Impots.gouv.fr, the gray tab. Do you have any idea?

@Maximilien

jsut use close tab to close the current tab and it would be on the other tab

or use a activate or hover on any element so that the tab gets to top

better one is to close the current tab so that previous tab is viewable

cheers

@Maximilien

1. Use “Use Application/Browser” with Open in New Tab = False

If each new page opens in the same window scope, UiPath can switch tabs using selectors instead of keyboard shortcuts.
Make sure both tabs are inside the same Use Application/Browser container.


2. Use a Click on the tab selector instead of hotkeys

Most browsers expose each tab as a UI element.
Try Indicate the tab header (e.g., the “Impots.gouv.fr” tab) and use a normal Click activity to switch back.

This works more reliably than Ctrl+Tab.


3. Rename the tab + use wildcard selector

If the tab title changes, use:

"*Impots.gouv.fr*"

inside a Attach Browser or Use Browser activity.

UiPath will switch to the correct tab automatically.


4. If hotkeys are required

Make sure the browser window is active:

Activate → Use Application/Browser → Send Hotkey (Ctrl+Shift+Tab)

Hello @Maximilien

Can you share the selector?
Check Ui Browser if there are any more specific window/element properties you can check off to narrow down to that specific tab.

Regards
Soren