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
Using web driver how you can store a value which is text box?
How to switch to a new window (new tab) which opens up after you click on a link?
How can you find if an element displayed on the screen?
What is selenium 1.0?
Explain why to choose python over java in selenium?
What’s selenese?
Give an example of the languages supported by webdriver?
How to launch a browser using selenium webdriver?
What is an implicit wait in selenium?
How you can insert a break point in selenium ide?
What You Know About Selenium Grid?
What is selenium? What are the different selenium components?
What is the alternate way to click on the login button?
How to delete cookies in selenium?
How to send alt/shift/control key in selenium webdriver?