I am facing an issue on one of my web pages where a button opens up a popup window that requires me to select certain values. I am using IE browser and Selenium 2.53 libraries for automation. However, I am unable to switch to this popup window as I can't find the window handle - only the parent handle is being displayed.
I have tried switching to alert/popup but the popup generated from a button on the parent page is not identifiable, making it impossible for me to interact with it.
Set<String> winhandle= driver.getWindowHandles();
System.out.println(winhandle);
for (String handle : driver.getWindowHandles())
{
System.out.println(handle);
String newURL = driver.getTitle();
System.out.println(newURL);
}
Best regards, Nir