Selenium WebDriver 4

Read a single table cell

Medium70 pts~25 min
  • Tables
  • Scoped locators
Practice app · People Directory

A sortable, filterable, paginated employee table and a live counter.

Test URL
/lab/selenium-read-a-single-table-cell

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Read one specific cell from the employee table and assert its value.

Your task

  1. 1Wait for #employees-table to show its first page.
  2. 2Locate the row tbody tr[data-id="3"] and its salary cell td.col-salary.
  3. 3Assert the row's td.col-name is “Sofia Garcia” and the salary reads “$104,000”.

Acceptance criteria

  • The salary of Sofia Garcia is read from the table
  • At least 1 assertion passes

Selenium WebDriver 4 · Selenium · Tables & dynamic content