Simulates the user clicking the "close" button in the titlebar of a popup window or tab.
ISelenium.Close
DefaultSelenium Class | Selenium Namespace