Clear and re-enter input
Easy30 pts~12 min
- clear()
- Input value
Practice app · Profile Settings
A settings page for clicking, typing, reading text/attributes/CSS and element state.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Replace a pre-filled value instead of appending to it, then save.
Your task
- 1Open TEST_URL and assert
#display-namestarts as “Alex Tester”. - 2Clear
#display-nameand type “Jordan QA”. - 3Click
#save-buttonand assert#save-statusshows “Profile saved”. - 4Assert the field value is exactly “Jordan QA”.
Acceptance criteria
- clear() is used
#display-nameholds exactly “Jordan QA”#save-statusis visible- At least 2 assertions pass
Selenium WebDriver 4 · QA Automation · Interactions