It doesn't make sense to return the value of the selected option of a select box. In most cases the value will be an id of an element in the database. Or at least an id to identify some element. You shouldn't use ids in your acceptance tests because this is not what the user sees in his browser. It makes more sense to return the text of the selected option.
It doesn't make sense to return the value of the selected option of a select box. In most cases the value will be an id of an element in the database. Or at least an id to identify some element. You shouldn't use ids in your acceptance tests because this is not what the user sees in his browser. It makes more sense to return the text of the selected option.