Assert a full table row
Medium70 pts~25 min
- Tables
- Collections
Practice app · People Directory
A sortable, filterable, paginated employee table and a live counter.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Read every cell of one employee row and compare it with the expected record in a single, readable assertion.
Your task
- 1Locate the row tbody tr[data-id="2"] in #employees-table.
- 2Collect the text of all its td cells with findElements.
- 3Assert the list equals [EMP-002, Liam Patel, QA Lead, QA, $112,000, Active].
Acceptance criteria
- All cells are collected with findElements
- The whole row matches the expected values
- At least 1 assertion passes
Selenium WebDriver 4 · Selenium · Tables & dynamic content