Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 ?    22 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

What is desired capability? How is it useful in terms of selenium?

0 Answers  


How do you find element using Java Script?

3 Answers   HCL,


What are the important features of selenium ide?

0 Answers  


What is the use of javascriptexecutor?

0 Answers  


What is the alternative to driver.get() method to open an url using selenium webdriver?

0 Answers  






How will you handle working with multiple windows in selenium?

0 Answers  


What kinds of test types are supported by selenium?

0 Answers  


Tell me what is a hub in selenium grid?

0 Answers  


What do you mean by selenese?

0 Answers  


What are the advantage and features of selenium ide?

0 Answers  


How to scroll down to a particular element?

0 Answers  


Which all browsers are supported by selenium webdriver?

0 Answers  






Categories