Check and uncheck a checkbox
Easy30 pts~12 min
- Checkboxes
- Element state
Practice app · Workshop Registration
A registration form with text fields, radios, checkboxes, selects and validation.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Toggle checkboxes on and off and verify their final state.
Your task
- 1Open TEST_URL.
- 2Check
#interest-seleniumand#interest-apiand assert both are selected. - 3Uncheck
#interest-apiand assert it is no longer selected. - 4Assert
#interest-playwrightwas never selected.
Acceptance criteria
#interest-seleniumis checked#interest-apiis unchecked- At least 3 assertions pass
Selenium WebDriver 4 · Selenium · Forms & inputs