difference between Close() and Quit()?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between selenium and qtp?

499


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

519


What kind of testing does selenium support?

495


What is the difference between single slash (/) and a double slash ( //) in xpath?

560


How you can insert a start point in selenium ide?

483






What is same origin policy and how it can be handled?

467


What is the alternate way to click on login button?

1099


Explain how can you find broken links in a page using selenium webdriver?

489


How can we move to nth child element using css selector?

499


How to find the xpath of web table elements.in chrome or internet explorer.or without using fire bug.?

1051


How can I learn to automate testing using selenium?

504


If the test case frame contains several test cases, how can one execute just the selected one of those test cases?

494


Why testers should opt for selenium and not qtp?

494


How to achieve database testing in selenium?

521


What are different types of locators?

482