Select List Assertions
Learn how to assert a select list using Selenium, and try it out yourself.
We'll cover the following...
Assert a label or a value in a select list
We can verify a label or a value in a select list by the following script:
my_select = driver.find_element(:id, "car_make_select")
select_texts = my_select.find_elements( :tag_name => "option" ).collect{|option|
...