HtmlTable does not work properly on tables that have <th> inside <tbody>
Opened this issue · 0 comments
vace117 commented
The problem is in this method:
This makes the class completely ignore <th>
cells in table rows, making it impossible to match on the content of those cells.
The xpath should be changed to look for <td>
or <th>
, as per the HTML5 spec:
https://html.spec.whatwg.org/multipage/tables.html#the-th-element