Interview Questions

Selenium WebDriver - What is the difference b/w close() and quit()?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

Selenium WebDriver - What is the difference b/w close() and quit()?

close() – it will close the browser where the control is.
quit() – it will close all the browsers opened by WebDriver.

(Continued on next question...)

Other Interview Questions