Selenium Java - Handling Windows, Frames, and Alerts
Identify the error in the following code snippet:
Setwindows = driver.getWindowHandles(); for(String win : windows) { driver.switchTo().window(); System.out.println(win); }
