I have a page that has a table with ID as below
<table id="T1">
<tbody>
<tr>
<td>Qassas</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>test</td>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</tbody>
</table>
Via Page URL (I think I need to use something like XMLHttpRequest
),
How can I get an element (Table) with its ID?
- Then check if the
qassas
value exists in a table "T1" **in this page, retrieve the values of all tds beside the cell that contains the matched valueqassas
- Then check if the
P.S: the value is located in the first column
Any help would be fully appreciated