title: Selenium C# - How can I get the total number of rows of a table?
body: <p>I am pretty new to this, and I found a way to count the number of rows in the table, my problem is that my code only counts the "visible" rows and not the rows of the table that are out of the screen.</p>
  
  <pre><code>int rowcount = customMethods.driver.FindElement(By.XPath("/html[1]/body[1]/div[3]/div[1]/div[1]/div[1]/div[2]/div[3]/div[1]/div[1]/div[1]/div[1]/div[1]/table[1]/tbody[1]")).FindElements(By.TagName("tr")).Count();
  </code></pre>
  
  <p>This piece of code returns me an amount of 39 rows, but there are 44, the exceed rows are not being visible at the time of the count.</p>
  
  <p>Any help?</p>