Question: how to get the value from dropdown in selenium?
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)