Question: how to select multiple values from dropdown in selenium?
Answer: Select select = new Select(<WebElement object>); You must pass the dropdown or multi-select element object as shown in the above code else it'll cause the compile-time error in Eclipse IDE. You can get more clarity on using the <Select> class, just look at the below Java code. WebElement dropdown = driver.