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

Name an api used for reading and writing data to excel files?

459


What is the difference between driver.get() and driver.navigate.to()

496


Which are the browsers supported by selenium rc?

475


Explain me how can we capture screenshots in selenium?

452


what is the difference between 2.0 & 3.0

1051






what is the difference between driver.get() and driver.navigate.to(“url”)?

481


Do you know how to locate a link using its text in selenium?

462


What is the difference between the commit and verify commands?

508


Explain what are the different types of locators in selenium?

469


Explain what are the limitations of selenium ide?

718


What the webdriver supported mobile testing drivers do you know?

463


How will you handle working with multiple windows in selenium?

457


Do you know a way to refresh the browser by using selenium?

446


Which is the super interface of webdriver?

532


What is the use of logging in automation?

495