How to work with multiple tab switching in browser?

I have a process that validates the number of chrome browsers currently on one tab
when I made for multi-tab then it’s not working
it’s go back into first tab and work there

you can check my workflow

and please help me how to work with multi-browser tab I used a shortcut

Validiation Bot.zip (15.7 KB)

Thanks

Try to use the IDX on the root selector.