Here comes 2 windows pop out during the testing.
my code:
string BaseWindow = driver.CurrentWindowHandle; ReadOnlyCollection
string NewWindowHandle = string.Empty; ReadOnlyCollection windowHandles = driver.WindowHandles; NewWindowHandle = windowHandles[windowHandles.Count - 1]; driver.SwitchTo().Window(NewWindowHandle);