difference between Close() and Quit()?
Answers were Sorted based on User's Feedback
Answer / girishkumar
Close() - Will close the current window.
Quit() - will close all the windows.
Is This Answer Correct ? | 23 Yes | 0 No |
Answer / 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 |
Answer / chetan phani.j
close() is used to close the current window or Parent window.
quit() is used to close all the windows opened by Selenium.
Is This Answer Correct ? | 0 Yes | 0 No |
How are selenium ide, webdriver and selenium rc different from each other?
What are the regular expression patterns available in selenium?
How you can use recovery scenario with selenium?
How do I start the browser using WebDriver?
List some of the programming languages that are strongly supported by selenium webdriver.
What kind of keyboard operations can be performed in selenium?
what are the four parameter you have to pass in selenium?
How does testng allow you to state dependencies? Explain it with an example.
How can you find if an element displayed on the screen?
What is the difference between driver.getwindowhandle() and driver.getwindowhandles() in selenium?
what is the difference between absolute path and relative path?
How to handle a dropdown in selenium webdriver?