Select a radio button
Easy30 pts~12 min
- Radio buttons
- 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
Change the ticket plan radio and verify only one option is selected.
Your task
- 1Open TEST_URL and assert
#plan-basicis selected by default. - 2Click
#plan-team. - 3Assert
#plan-teamis selected and#plan-basicis not.
Acceptance criteria
#plan-teamis checked#plan-basicis unchecked- At least 2 assertions pass
Selenium WebDriver 4 · Selenium · Forms & inputs