selenium java,如何获取xpath重的子节点

2024-12-27 23:13:48
推荐回答(1个)
回答1:

List elements = driver.findElements(By.xpath(''//*[@class='three_3']/span"));

int num = elements.size();
望采纳