Selecting an Option in a select Element

Learn how to simulate a user selecting an option in a select element.

The starter project contains the same ContactForm component as the previous lesson. It also includes a half-implemented test that checks that the form is successfully submitted.

A copy of the code is in the code widget below. Click the “Run” button to run the tests.

Get hands-on with 1200+ tech skills courses.