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

Explain me how to handle alerts in selenium webdriver?

0 Answers  


How to enforce the title of the website?

0 Answers  


How you build object repository in your project?

0 Answers  


What is the syntax of finding elements by id using css selector?

0 Answers  


what is selenium Grid

1 Answers  






How do you identify an object using selenium?

0 Answers  


What is exception test in selenium?

0 Answers  


How can we find all the links on a web page?

0 Answers  


Disadvantages of Hybrid Framework?

0 Answers   L&T,


What is a keyword driven framework?

0 Answers  


How does one execute java scripts function in selenium?

0 Answers  


Mention when to use autoit?

0 Answers  


Categories