Question: how to select dynamic dropdown in selenium webdriver?
Answer: How To Automate Dynamic Drop Down Using Selenium. First you will have to click into the 'From' text field which will displayed the city drop down lists. ... 
Select a city from the 'From' drop down list. ... 
Select a city from the 'To' drop down list.