Not a duplicate: I am not asking for the <option>
within a <select>
. I would like to return the <select>
web elements themselves as a List. When achieved, the list should have a size of 2.
I have only found driver.findElements()
that returns a List<WebElement>
.
How do I return a List<Select>
by ng-model="income.frequency"
?
(Note: I have ngWebDriver so I can use ByAngular.model("income.frequency")
as locator.)