how to get the value from drop down list in selenium?
['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)']