Selenium get dynamic ID XPath -
i'm new on selenium, new here , english not best. i'm using selenium .net ... i have html page number of events different: <div id="eventcontent" style="text-align: center;"> <div class="event" id="event-8971062"> <ul> <li ...></li> <li ...></li> <li ...></li> </ul> </div> <div class="event odd" id="event-9224880"> <ul> <li ...></li> <li ...></li> <li ...></li> </ul> </div> </div> i need check datas in different divs count dynamic , (event)id dynamic too. i'm trying find out count of divs @ first does'nt work. try this: defaultselenium selenium = new defaultselenium(.....