What is the difference between driver.close() and driver.quit command?
It is really important for you to be very clear on these differences.
close(): WebDriver’s close() method closes the web browser window that the user is currently working on, or we can also say the window that is being currently accessed by the WebDriver. The command neither requires any parameter nor does return any value.
quit(): Unlike close() method, quit() method closes down all the windows that the program has opened. Same as close() method, the command neither requires any parameter nor does return any value.














