Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97799

Adding multiple SelectElement into IList for iteration

$
0
0

I am trying to iterate into multiple drop-down boxes and select value in each one of them, now the drop-down boxes are variable, is there a way to do that, I tried this:

   IList<SelectElement> allDropDowns = mydrive.FindElements(By.CssSelector
(".custom-select.fileType.form-control"));

Viewing all articles
Browse latest Browse all 97799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>