difference between Close() and Quit()?

Answer Posted / girishkumar

Close() - Will close the current window.
Quit() - will close all the windows.

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the parameters that one needs to pass in selenium.

536


Explain the difference between single and double slash in x-path?

618


What are the advantages of pom?

628


If one wanted to display the value of a variable named answer in the log file, what would the first argument to the previous command look like?

570


Differentiate between ‘/’ and ‘//’.

640






What are the limitations of using selenium as a test tool?

560


How a text written in a text field could be cleared?

553


List some of the common automation frameworks.

554


What is listeners in selenium webdriver?

646


What are the different types of navigation commands?

532


what will be the first salary and what will be the hike in the salary?

551


How will you find an element using selenium?

581


What is the main disadvantage of implicit wait?

605


How do I launch the browser using webdriver?

576


What are the different types of wait statements in selenium webdriver?

3282