Automation Question: Download Automation PDF

Do you know the difference between close and quit command?

Tweet Share WhatsApp

Answer:

If you need to close the current browser having focus driver.close() is used. If you need to close all the browser instances driver.quit() is used.

Download Automation PDF Read All 108 Automation Questions
Previous QuestionNext Question
Do you know what is a data-driven framework?What is Selenium?