Answer Posted / 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 |
Post New Answer View All Answers
How can it be found if an item is displayed on the screen?
What are the main advantages of automation testing?
How can you find if an element displayed on the screen?
What is object repository in selenium webdriver?
Which files can be used as data source for different frameworks?
How to create and run testng.xml?
Explain what are the limitations of selenium ide?
Can captcha be automated?
What are the challenges in handling ajax call in selenium webdriver?
How can I read test data from excels?
I am not able to use "style" attribute to locate element with ie browser?
What types of tests are compatible with Selenium?
Write a code snippet to perform right-click an element in webdriver.
Is selenium capable of handling windows pop-ups?
What are the different exceptions you got when working with webdriver?