Answers were Sorted based on User's Feedback
Answer / girishkumar
Close() - Will close the current window.
Quit() - will close all the windows.
|Is This Answer Correct ?||21 Yes||0 No|
Answer / raghu varma penmetsa
if we write driver.close() it will close the current application
if we write driver.quit() it will close current application along with surrounding applications
|Is This Answer Correct ?||6 Yes||0 No|
Answer / chetan phani.j
close() is used to close the current window or Parent window.
quit() is used to close all the windows opened by Selenium.
|Is This Answer Correct ?||0 Yes||0 No|
How to pass parameters using testng.xml?
What is the difference between driver.getwindowhandle() and driver.getwindowhandles() in selenium webdriver?
How to iterate through options in test script?
How can we fetch title of the page in selenium?
Does the selenium ide have any drawbacks?
What are different forms of selenium?
What are startpoints and breakpoints in selenium?
in real time , which framework is used ? is it datadriven or keyword or hybrid ?? please answer
How to get an attribute value using selenium webdriver?
What are desiredcapabilities in selenium webdriver?
how to upload file other than autoit
Tell me what is a node in selenium grid?