Gets the current windows handle, if not implemented or not possible,
returns OpenQA.Selenium.Remote.SessionId or new OpenQA.Selenium.Remote.SessionId if OpenQA.Selenium.Remote.IHasSessionId is not implemented.
public static string GetCurrentHandle(this OpenQA.Selenium.IWebDriver driver);
driver OpenQA.Selenium.IWebDriver
This OpenQA.Selenium.IWebDriver instance.
System.String
Opaque handle to this window that uniquely identifies it within this driver instance.