I have multiple tables on a page with nested tables. None of the tables have an id, and the only data that I can differentiate all the rows is the value in a <font>
field. I need to pull the value in a font field containing text "SkuId", and the value in the font field immediately following this field. So I would need to pull "SkuId" and "123456", which would be the Sku Id. There are hundreds of these in the table, so I'll need to pull this into an array.
I'm assuming it's something along the lines of this:
document.querySelectorAll('table>tbody>tr>td>font[value="Sku_Id"]')
I know this isn't right, since it doesn't help me to select the field after the actual SkuId field (ex. 123456).
Here is an example of the table:
<table>...
</table>
<table>
<tbody>
<tr>...
</tr>
<tr>
<td><font>Sku_ID</font></td>
<td><font>123456</font></td>
</tr>
</tbody>
</table>