lecture 14 of 190 completed

Dropdowns, tables and the rows in between

Selecting an option, finding one row among many, and the counting mistake that makes a filter test useless.

What you'll learn

  • How to select from a standard dropdown and a custom one
  • How to find and act inside one specific table row
  • The counting mistake that makes a filter test useless

Real apps are made of lists and dropdowns, and both have a trap that lets a broken feature pass.

Dropdowns first.

A standard HTML dropdown is a <select> element, and Cypress has a command for 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 →