I'm doing an automation using Selenium WebDriver and I'm getting all the elements of a Table.
I used the code below:
var qntd= driver.FindElements(By.XPath("//*[@id='dataTable']/tbody/tr")).Skip(3);
I then realized that each element generated an Id that is not of the Html Id attribute
ItriedtoretrievethisidwithaquerybutIcouldnotbecausethereturnistheHTMLIdAttribute
varquery=fromainqntdselecta.GetAttribute("Id");
Where does this ID come from and how do I retrieve it?