Get Specific Table Cell Value
Table cells have IDs like emp1Name, emp3Dept, etc.
<tr> <td id="emp1Name">John Smith</td> <td id="emp1Age">30</td> <td id="emp1Dept">Engineering</td> <td id="emp1Salary">$80,000</td> </tr>
Task:
- Navigate to
https://testkru.com/Elements/Tables - Get employee 1's name
- Get employee 3's department
- Get employee 4's salary
Expected output:
Employee 1 Name: John Smith Employee 3 Dept: Sales Employee 4 Salary: $85,000
TestKru