I am new to Java and Selenium. I want to grab all the values in a dropdown, and make sure they match the expected values. So I wan't to make sure that the dropdown contains the values of A, B, and C.
Please Select...DEP900DEP800DEP700DEP600DEP400DEP300DEP20 0DEP100DEP500DEP1000I can't figure out how to grab all the text values of the dropdown element (ex. DEP900). I want to put them in an ArrayList, and compare that to another list that contains the expected values. I was going to do that with Assert.assertEquals.