Hi @Shubham_Varshney
as @Lahiru.Fernando mentioned use of the browser variable (outcome from open browser) would even for me the field where to look on. But you aware of this as well, so I do feel your scenario is more complex. However I did not understand in total, some requirements are unclear to me. May I ask you give us some more inputs:
- Which Browser is used
- Does the BOT opening the browsers and which mode (Open Browser, Open Process + URL)
- Are the two pages opened in separate windows or in one browser with two tabs?
I do know that those scenarios,on first guess looking easy can be very tricky. A shot in blind: trying to take identification on process level (Powershell is helping much for RnD)
the browser process (DataType Process? has a property MainWindowTitle. This is the active Tab from the Browser (IE was RnDed). Maybe this information can be used for recalculating the Selector.
However we will help you on this. I can take this challenge with me today evening and can do some RnD if it is still open.