Question: how to select multiple value in dropdown using selenium webdriver java?
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.