in Selenium by
What is the major difference between driver.close() and driver.quit()?

1 Answer

0 votes
by

Below are the difference between Close and Quite Driver commands.

driver.close()

This command closes the browser’s current window. If multiple windows are open, the current window of focus will be closed.

driver.quit()

 When quit() is called on the driver instance and there are one or more browser windows open, it closes all the open browser windows.

...