Frage im Vorstellungsgespräch bei Philips

How to select a value from dropdown without using Select class?

Antwort im Vorstellungsgespräch

Anonym

7. Juni 2016

Use Iterator() method or the below one: int count = driver.findElements(By.xpath("//select[@name='dropdownmenu']//option")).size(); System.out.println(count); for(int i=0;i