NOTICE: Our Community is moving. Get more information. Updated information on a New Login Process
From a main browser you launch a second browser which looks like a popup window (no menu, toolbars etc). When you try to close this, it keeps on closing the main browser. The usual methods ( Close(), CloseOthers(), CloseWindows(), and Browser2.SetActive() ) all fail.
Instead add this to your script to close the second browser ;
testcase test() MainBrowserA.SetActive() ...//your code here browserchildB.SetActive() ....//some more code here Explorer.TypeKeys("") MainBrowserA.SetActive() ...