Question: what is the difference between 'close' and 'quit' methods in webdriver?
Answer: close() is a webdriver command which closes the browser window which is currently in focus. ... The following code can be used to close the current browser window: quit() is a webdriver command which calls the driver. dispose method, which in turn closes all the browser windows and terminates the WebDriver session.