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:
- Navigate to
https://testkru.com/Elements/Checkboxes - Check
#secondSelect1,#secondSelect2, and#secondSelect5 - Count how many of the 5 checkboxes are checked by iterating with
.all()
Expected output:
Checked count: 3
TestKru