I only understand you partly. I dont have chrome so I was forced to use IE. I implemented a test run and it confirms from above, got control via browser variable.
Main.xaml (12.3 KB)
See above in your post:
- Are the two pages opened in separate windows or in one browser with two tabs? - Different Window
The title will change everytime we move from one tab to another… so now how will the bot knows exactly which tab it must go on which browser as the selectors are already stored for the original one!!!
You mentioned different windows <- close to my test run and control via browser vars
But then you are talking about tabs. This confuses me a little bit.
Is it following scenario (shortened)
Browser comes in to one state the three tabs are open. Tab1, Tab2 has the opened the same page, so the selectors are same. Tab1 is active (working with attach) swithing to Tab2 fails as selector is same to Tab1 and attach browser will reactivate Tab1 instead of Tab2?
Oh - Thats bad, I remember
However May I ask you to confirm me if I now have correct understand you and my described scenario is matching your situation. Thanks.