difference between Close() and Quit()?

Answer Posted / girishkumar

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

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you handle network latency using selenium?

494


Explain dataproviders in testng ?

514


What are selenium 1 and selenium 2?

498


While injecting capabilities in webdriver to perform tests on a browser which is not supported by a webdriver what is the limitation that one can come across?

476


How to set the size of browser window using selenium?

513






Explain me what could be the cause of selenium webdriver test to fail?

443


What is the difference between MaxSessions vs. Selenium grid MaxInstances properties?

585


Tell us what selenium components do you know?

452


How to handle the AJAX popup window?

554


Explain the fundamental difference between xpath and css selector.

518


Do you know what are the main advantages of selenium grid?

496


What does a single “/” bar in XPath do?

534


How can the user get a text from a web element?

548


Which are the browsers supported by selenium ide?

476


What are the different types of wait statements in selenium webdriver? Or how do you achieve synchronization in webdriver?

461