Interview Questions

SELENIUM REAL TIME INTERVIEW QUESTIONS - What is the difference between driver.Close() and driver.Quit () method?

Selenium WebDriver Interview question and Answers


(Continued from previous question...)

SELENIUM REAL TIME INTERVIEW QUESTIONS - What is the difference between driver.Close() and driver.Quit () method?

Close() - It is used to close the browser or page currently which is having the focus.

Quit() - It is used to shut down the web driver instance or destroy the web driver instance (Close all the windows)

(Continued on next question...)

Other Interview Questions