title: How to use Selenium to verify Sorting of records
body: <p>I have a list of records. How I can verify the sorting order using Selenium?</p>
  
  <pre><code>List&lt;WebElement&gt; tableRowCollection = webTableElement .findElements(By.xpath("/table")); 
  </code></pre>
  
  <p>I am getting an error in the above statement "The type List is not generic; it cannot be parameterized with arguments ". I am not sure how to read the records since findElements only returns WebElemt.</p>