How to work on two browser windows with same title



Below is my scenario,

On parent browser I will click on button and new browser will open. New browser’s title is same as old browser one. Even selectors are exactly same & hence, I couldn’t work on new browser window.
Every action I do it happens on first browser window only. Is there any way out, to identify both as different.


Hi @jadhavsiddh,

Can you try to use uiexplorer to get exact selector.

There you may get aaname,title,idx,id any one value may be differ.
Can you check on that

you can give manually if you are opening new session
First Browser <html title='*' idx='1' />
Second Browser <html title='*' idx='2' />



Hi @jadhavsiddh
Try using hot keys like alt+tab to switch windows


Thanks. But I got resolution. I have used URL in selector and it worked.


I am having the same problem, but in SAP. So, couldn’t use neither this URL fix nor the idx because it is not always a new session.
is there any other fix for this issue.


Can you try to use the Attach Window Activity for each window you have? In the output Property you could create a variable that holds that window. Maybe you can keep it separate this way


Try using recorder for both the windows and check their attach selector. Most of the time recorder picks the unique selector. Or else you have to crawl on UiExplorer from top-down approach to check what’s the difference between two windows.


Thanks for the help. Attach window activity with variable in output property worked for me. :slightly_smiling_face:


Thank You. It works :slight_smile: