Program to Close and Quit Browser (driver instance) in Selenium.

 

  • driver.close();
  • driver.quit();