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

How do you read data from excel?

509


What test can selenium perform?

581


What could be the cause of the selenium webdriver test to fail?

440


Give the example for method overload in webdriver.

558


Why should selenium be selected as a test program?

485






Explain me how to handle alerts in selenium webdriver?

494


How do you identify an object using selenium?

519


How to connect a database in selenium?

487


Explain what is datadriven framework and keyword driven?

484


How to enter text in the HTML text box without invoking the SendKeys ()?

564


When do we use findelement() and findelements()?

490


Explain using webdriver how you can perform double click?

538


Which of the selector ID, name, XPath or CSS should I use?

515


What happen if you mix both thread.sleep and webdriver waits in a selenium script?

492


Explain what can cause a selenium ide test to fail?

581