?????????Java webdriver?????????′????е??????????????′????У??????′????????????????????????

??????????д????????
????Set<String> otherWins = driver.getWindowHandles();
??????????????????
????String current = driver.getWindowHandle();
?????????д????????????????′???????????????????????′????
????driver.switchTo().window(new);
???????driver?????????′?????????????????????????????????????
????driver.switchTo().window(current);