Question: how to get value from dropdown in selenium webdriver?
Answer: WebElement dropdown = driver.findElement(By.xpath("//select[@id='ddladult1']")); Select select = new Select(dropdown); java.util.List<WebElement> options = select.getOptions(); for(WebElement item:options)