Question: how to handle a dropdown in selenium webdriver how to select a value from dropdown?
Answer: Just wrap your WebElement into select Object as shown below. Select dropdown = new Select(driver.findElement(By.id("identifier")));
Now to identify dropdown do. ... 
To select its option say 'Programmer' you'll be able to do. ... 
dropdown.selectByIndex(1);