What exception handling procedure can I use for the WebDriver to terminate the session safely?

What exception handling procedure can I use for the WebDriver to terminate the session safely?

Hey Anna,

You can use the driver.quit() method in order to eradicate every instance of WebDriver.