menghitung objek di selenium java
int xpathCount = webDriver.findElements(By.xpath("Valid_Xpath")).size();
Better Bee
int xpathCount = webDriver.findElements(By.xpath("Valid_Xpath")).size();