![](/img/trans.png)
[英]How to loop through a directory, get all file names, then get the contents of those files in Java
[英]How to loop through the Internal CSS to get the LinkedIn Search Names
for(int i=0;i<10;i++) { driver.findElement(By.xpath("/html[1]/body[1]/div[5]/main[1]/div[1]/div [1]/section[1]/div[1]/ol[1]/li[+"i"+]/div[2]/div[1]/div[1]/div[1]/article[ 1]/section[1]/div[1]/dl[1]/dt[1]/a[1]");
}
如何循環遍歷 Selenium 中的 xpath
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.