📜  selenium first-of-type for 循环 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:30.792000             🧑  作者: Mango

代码示例1
List list = driver.findElements(By.cssSelector("[class=matchListWithMessages] div a)"));

for(WebElement row : list) {
     row.click();
}