What is the difference b/w close () and quit ()?



What is the difference b/w close () and quit ()?..

Answer / Sanjo Devi

close() method in Selenium WebDriver closes only the current window, while quit() method shuts down the entire WebDriver instance and all associated windows.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

What is a keyword driven framework?

1 Answers  


What are the different Exceptions in selenium?

1 Answers  


Write a code snippet to perform right-click an element in webdriver.

1 Answers  


What is the selenium ide and what is it used for?

1 Answers  


How do you find element using Java Script?

3 Answers   HCL,


What is selenium?

1 Answers  


How are selenium ide, webdriver and selenium rc different from each other?

1 Answers  


What are the main advantages of automation testing?

1 Answers  


How can we inspect the web element attributes in order to use them in different locators?

1 Answers  


Which is the latest Selenium tool?

1 Answers  


What are the different types of frameworks?

1 Answers  


Mention different exceptions you had in selenium web driver?

1 Answers  


Categories