How do you handle Multiple windows in your application?
Answer Posted / suresh777
Set<String> parent=driver.getWindowHandles();
Object[] child=parent.toArray();
driver.switchTo().window((String) child[1]);
Here we have handle at any number of Windows
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Tell me in which format does source view show the script in selenium ide?
Explain the difference between implicit wait and explicit wait.?
How to handle the AJAX popup window?
How are web-based pop-ups handled in selenium?
What is difference between qtp and selenium?
What is page object model or pom?
What is desired capability? How is it useful in terms of selenium?
What are the different methods to refresh a web page in webdriver?
How selenium grid works?
What does a concentrator do in the selenium network?
How to insert a breakpoint in selenium ide?
How to check the checkbox or radio button is selected?
Which is the super interface of webdriver?
Why testers should opt for selenium and not qtp?
How to enforce the title of the website?