Selenium - Windows Handling
Windows Handling
Set<String> windows = driver.getWindowHandles();
//[parentid,childid,subchildId]
Iterator<String>it = windows.iterator();
String parentId = it.next();
String childId = it.next();
driver.switchTo().window(childId);
Comments
Post a Comment