which one to use? driver.close() / .quit()
There are different ways to close browser[s] using selenium after tests are run. Depending on scenarios, if single or multiple browsers are opened, we can close or quit browser. let’s see the usage of close, quit and dispose methods. driver.close() driver.close() method will close current browser / browser window, that is in focus or hold…