Remove-Session

Removes a session

Powershell

Removes a session. The application is closed.

Syntax

Remove-Session [[-sessionId] ] []

Parameters

name description
sessionId (Optional) The identifier of the session to be used.

Examples

Remove-Session

C#

Declaration

OpenQA.Selenium.IWebDriver::void Quit()

Examples

driver.Quit();