difference between Close() and Quit()?
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 ? | 22 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 |
What is desired capability? How is it useful in terms of selenium?
How do you find element using Java Script?
What are the important features of selenium ide?
What is the use of javascriptexecutor?
What is the alternative to driver.get() method to open an url using selenium webdriver?
How will you handle working with multiple windows in selenium?
What kinds of test types are supported by selenium?
Tell me what is a hub in selenium grid?
What do you mean by selenese?
What are the advantage and features of selenium ide?
How to scroll down to a particular element?
Which all browsers are supported by selenium webdriver?