Question: how to get the selected option value of 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)