IWebDriver Close Method WebDriver
Close the current window, quitting the browser if it is the last window currently open.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

void Close()
See Also