Locators & DOM
Large & deep DOM
A 50 × 50 table (2 500 cells) and a 40-level nested tree — stress for selectors and performance.
Practice tasks
- Find the cell with id “cell-37-12” and read its value.
- Reach the innermost element and read its text with a short selector.
- Compare locator speed: id vs deep CSS vs absolute XPath.
- Assert the number of td elements equals 2500.