Cognizant Interview Question

driver.close and driver.quit difference

Interview Answer

Anonymous

Jun 26, 2016

driver.close()= closes the current browser window or tab driver.quit()= closes all the browser tabs /windows opened selenium webdriver.

1