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 you can switch between frames?
How can you mark a test case as failed by using soft assertion?
What is desired capability? How is it useful in terms of selenium?
How do u get the attribute of the web element?
What automation tools could be used for post-release validation with continuous integration?
How to get the title of the page?
How to check if a text is highlighted on the page ?
Give an example of the languages supported by webdriver?
Explain how you can switch between frames?
How to scroll web page down or up using selenium webdriver?
What is the syntax of finding elements by id using css selector?
What is the difference between MaxSessions vs. Selenium grid MaxInstances properties?