Question: how to get a 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)