Locators & DOM
Challenging DOM
Three buttons that swap ids, a table whose cells must be found by neighbours, and a canvas with random text.
Practice tasks
- Click the button whose text currently equals “foo” (it changes).
- Edit the row where Lorem equals the value from column 1.
- Read the text drawn on the canvas (hint: you can’t in the DOM).
- Find the red button regardless of its position.