I searched but I couldn't find how to utilize Chai to inspect a grid of data. The data is presented in data tables. There are column headers and then rows of data. I need to verify that the counts displayed are correct. I know I can utilize a screenshot but I thought it would be better to use Chai.
Can you please direct me to an example of how to achieve this? When I inspect the page, the following is what is retrieved for the column header is Completed and the first line of data has a count of 3.
#dt_58cbfd2329471 > thead > tr > th.sorting_asc
<th class="sorting_asc" role="columnheader" tabindex="0" aria-controls="dt_58cbfd2329471" rowspan="1" colspan="1"
style="width: 103.182px;" aria-sort="ascending" aria-label="COMPLETED: activate to sort column descending">COMPLETED</th>
<a href="User_count.php?p=user_summary_grid&mode=comp&user_id=1777&product_id=22&project_id=&license_state=&user_level=&firstname=&lastname=&city=&state=&region=&region1=&discussion_id=&page=" style="font-weight:normal;color:#5A5A56;">3</a>