Home > Software design >  Selenium select options in multiselect
Selenium select options in multiselect

Time:05-23

I have a enter image description here

CodePudding user response:

with c#, I would do something like this:

Click the button to open the drop down

then you could use

driver.FindElement(By.XPath("//select[@id='Supplies']/option[contains(text(), 'test1')]")).click();

  • Related