difference between Close() and Quit()?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of frameworks?

524


What is selenium? What are the different selenium components?

502


What are soft assert and hard assert in selenium?

442


Is selenium server needed to run selenium webdriver scripts?

455


Which selenium command(s) simulates selecting a link?

3336






How to fetch the current page url in selenium?

659


Which web driver implementation is fastest?

525


How can we submit a form in selenium?

462


What is difference between @factory and @dataprovider annotation?

529


Which is the super interface of webdriver?

541


What is assertion in selenium?

510


Can you use Selenium to test the Rest API or Web services?

493


selenium can handle pop-up windows based on selenium is a test tool?

644


What are the two modes of views in selenium ide?

564


Does the selenium ide have any drawbacks?

524