lecture 8 of 220 completed

Acting on the page

click, sendKeys, clear and Select. The element must be found before it can be used.

What you'll learn

  • The actions that cover most of what a user does
  • Why an element must be found before it can be used
  • What to do when an action is refused

Every test is made of two things: actions and checks. You have seen checks already. Now let's cover the actions.

In Selenium an action always has two steps: find the element, then act on it.

full course

Keep reading with the full course

The Foundations track and the first lessons in each framework are free. This lesson needs full course access. A course plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →