67,550
社区成员




// 最后点击保存
jse.executeScript("document.getElementById('btnSave').click();");
Thread.sleep(5000);
// 跳转
Set<String> systemHint = driver.getWindowHandles();
for (String he : systemHint) {
if (parentWindow.equals(he) || editWindow.equals(he)){
continue;
}
driver.switchTo().window(he);
System.out.println("当前页面title为:" + driver.getTitle());
}