Question : driver.quit method
Answered by : obedient-ocelot-5tkogtygmlyl
driver.quit() is used to close all the browser opened by Selenium
Webdriver.
Source : | Last Update : Fri, 11 Dec 20
Question : close and quit method
Answered by : obedient-ocelot-5tkogtygmlyl
Two methods do same thing but, there is a small difference;
driver.close() is used to close the current browser that we are
running the test.
driver.quit() is used to close all the browser opened by Selenium
Webdriver.
Source : | Last Update : Fri, 11 Dec 20