What is the difference between close() and quit() in WebDriver?

close() method is used to close the current browser window on which the focus is set, on the other hand

quit() method essentially calls the driver.

Leave a Reply