Skip to content
CodeKruPro

Handle Multiple Checkboxes

24/70

Handle Multiple Checkboxes

You can check multiple checkboxes and count how many are selected.

On the Checkboxes page, the second column has checkboxes #secondSelect1 through #secondSelect5. #secondSelect3 is disabled and #secondSelect4 is hidden, so leave those two alone.

Task:

  1. Navigate to https://testkru.com/Elements/Checkboxes
  2. Check #secondSelect1, #secondSelect2, and #secondSelect5
  3. Count how many of the 5 checkboxes are checked by iterating with .all()

Expected output:

Checked count: 3