String handle = driver.getWindowHandle();
for (String handles : driver.getWindowHandles()) {
if (handles.equals(handle))
continue;
driver.switchTo().window(handles);
}
String handle = driver.getWindowHandle();
for (String handles : driver.getWindowHandles()) {
if (handles.equals(handle))
continue;
driver.switchTo().window(handles);
}
谁能解释下这段代码的意思,最好是一段一段的解释