lundi 16 avril 2018

How to select an option from a select drop-down list with Hound?

I have the following drop-down list:

<select id="cities" name="cities">
  <option value="paris">Paris</option>
  <option value="london">London</option>
  <option value="rome">Rome</option>
</select>

I am writing integration tests in Elixir with Hound and I'd like to select an element from the list above before submitting my form. Can I do that with Hound?

I couldn't find anything about drop-down lists in the Hound documentation.

Aucun commentaire:

Enregistrer un commentaire