power_settings_new

Difference between webdriver Dispose, Close and .Quit

by
asked
0 like 0 dislike
270 views
0 1
I would like to know difference between

    Webdriver.Close()
    Webdriver.Quit()
    Webdriver.Dispose()

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

answered by
selected by
0 like 0 dislike
 
Best answer
0
WebDriver.close() will simply close open window. If its last window open, it will call webdriver.quit.

WebDriver.quit and WebDriver.dispose are same. WebDriver.quit will close all open windows and close the session as well. We do not use webdriver.dispose in Java
add
...