I have to write tests for a web site. I am trying to get the selected value of a dropdown box. So far i can get the contents of the dropdown by doing
find_f
find_field('restrictions__rating_movies').find('option[selected]').text