I'm using mechanize to fill form on a website and now I run into a problem with dynamically-filled drop-down lists that are dependent on a previous selection.I have four drop-downs in a form which are dynamically populated and then user can submit the form.
Drop-down are :
Continent
-- Country #depends on continent
-- state #depends on Country
--city #depends on state
How can I select values from these drop-downs using python?