If new members work on automated tests via our Selenium test framework, the common question they have is how to handle the additional window popbox if we click the url in the current window ?
It is pretty easy. Using the following C # code works perfectly.
var windows = _driver.WindowHandles;
// do something such as Assertion.