Notes:
Today we will learn
Step 1 – How to do the SetUp Click Here
Step 2 – Create a Java Project in Eclipse
Step 3 – Add selenium jars
http://www.seleniumhq.org/
Step 4 – Write a program to open browser
Step 5 – Run and validate
Send me your comments and feedback
Difference between Driver.close and Driver.Quit?
* It closes the current open window on which driver has focus on. WebDriver.Quit()
* This method is used to destroy the instance of WebDriver. It closes all Browser
* Windows associated with that driver and safely ends the session.Jun 24, 2013
According to this def, Driver.close does not destroy driver instance. is it ??? means it will occupy memory ?
Hi Pallavi,
webDriver.Close() – Close the browser window that the driver has focus of
webDriver.Quit() – Calls Dispose()
webDriver.Dispose() Closes all browser windows and safely ends the session
Check this – https://stackoverflow.com/questions/15067107/difference-between-webdriver-dispose-close-and-quit