Question
What is the difference between driver.close() and driver.quit command

Answers

close(): WebDriver’s close() method closes the web browser window that the user is currently working on or we can also say the window that is being currently accessed by the WebDriver. The command neither requires any parameter nor does is return any value.

quit(): Unlike close() method, quit() method closes down all the windows that the program has opened. Same as close() method, the command neither requires any parameter nor does is return any value.   Your Comment




More Software,Java,driver Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What is the role of jdbc driver in a sqoop set up?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?



Search
Can you Answer!!
  • Q What do you mean by open addressing?
  • Q What is the difference between the Internet of Things (IoT) and the Sensor Business?
  • Q Lake Freeze in cold countries in winter, leaving the water underneath at –
  • Q Corn is a rich source of–
  • Q Western Australia is characterized by __________?
  • Q In 2005 Yulia Tymoshenko became the first female Prime Minister of which country?
  • Q QuickTest Professional offers the following types of checkpoints:
  • Q What term is used for Money borrowed or lent for a day or overnight ?
  • Q 12 is the atomic number of which metal
  • Q What is a javascript object?
  • Q How are the elements of a borderlayout organized?