my webpage contains several Elements with an xpath locator like:
//li[2]/div/div[2]/div
//li[3]/div/div[2]/div
//li[4]/div/div[2]/div
...
...
I need to know how many of those elements are displayed. How can i count them using Java
and Selenium
?
Thnx
Roland