📅  最后修改于: 2022-03-11 14:46:04.472000             🧑  作者: Mango
String selectLinkOpeninNewTab = Keys.chord(Keys.CONTROL,Keys.RETURN);
driver.findElement(By.linkText("urlLink")).sendKeys(selectLinkOpeninNewTab);