Which of the following statement is correct regarding driver.close() and driver.quit() to close the application after test execution?
Using both driver.close() and then driver.quit() for closing one window will throws an compile time exception.
Using both driver.quit() and then driver.close() for closing one window will throw an compile time exception.
Using both driver.close() and then driver.quit() for closing one window, will cause the window to be closed and kills the instance of the driver
Using both driver.quit() and then driver.close() for closing one window, will kills the instance of the driver and close the application