Hello,
In that case you can navigate to different url (may be different webpage on same website), which can change your window title, then loop to close similar windows and finally navigate back to original webpage. For e.g. new instance of IE that have the same window name is 'ABC' so navigate to new webpage that can change the window title to 'XYZ' . Now close all 'ABC' windows and navigate back from 'XYZ' to 'ABC' .
Is it possible for you to provide URL of webpage and the dummy login details so we can create specific sample for reference.
Hope this helps.
|