Switches the focus of future commands for this driver to the window with the given index.
public static OpenQA.Selenium.IWebDriver SwitchToWindow(this OpenQA.Selenium.IWebDriver driver, int index);
driver OpenQA.Selenium.IWebDriver
This OpenQA.Selenium.IWebDriver instance.
index System.Int32
The window index.
OpenQA.Selenium.IWebDriver
A self-reference to this OpenQA.Selenium.IWebDriver.