Describe the difference between driver.close() and driver.quit().
The driver.close
command closes the focused browser window. But, the driver.quit
command calls the driver.dispose
method which closes all browser windows and also ends the WebDriver session.