Hello Pallavi, Selenium WebDriver’s close() command closes the web browser window that the user is currently working on or the window that is being currently accessed by the WebDriver. No input parameters are required for this command and it also doesn't return any value.
While quit() command closes down all the windows that the program has opened. It is somewhat similar to the close() command as this also doesn't requires any parameter and does not return any value.