Difference between webdriver.close() and webdriver.quit()
close()
Close the current window, quitting the browser if it's the last window currently open.
quit()
Quits this driver, closing every associated window.
webDriver.Close() - Close the browser window that the driver has focus of
2. webDriver.Quit() - Calls dispose
3. webDriver.Dispose() Closes all browser windows and safely ends the session
No comments:
Post a Comment