difference between Close() and Quit()?

Answers were Sorted based on User's Feedback



difference between Close() and Quit()?..

Answer / girishkumar

Close() - Will close the current window.
Quit() - will close all the windows.

Is This Answer Correct ?    23 Yes 0 No

difference between Close() and Quit()?..

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

difference between Close() and Quit()?..

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

Post New Answer

More Selenium Interview Questions

Tell me does the selenium have any limitations?

1 Answers  


Different types of synchronization

1 Answers  


When do you use selenium grid?

1 Answers  


What are the test types supported by selenium?

1 Answers  


What are the different keyboard operations that can be performed in selenium?

1 Answers  


How you can insert a break point in selenium ide?

1 Answers  


What is the main disadvantage of implicit wait?

1 Answers  


What are different types of locators?

1 Answers  


Why and how will you use an excel sheet in your project?

1 Answers  


How we handle pop-up web-based ?

1 Answers  


How can we handle windows based pop up?

1 Answers  


How could ajax controls be handled in webdriver?

1 Answers  


Categories