Question: how to select value from dynamic dropdown in selenium?
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.