I’m unable to select from a dropdown list, receiving the following error:
selenium.log:selenium.common.exceptions.UnexpectedTagNameException: Message: Select only works on <select> elements, not on <input>
I’ve tried the following:
DateField=Select(browser.find_element_by_id("ctl00_Main_TVL_ctl00_Nav_ctl00_Dates_Input"))
Things work well until I attempt to access the dropdown list as I access the page and successfully log in.
What am I doing wrong with the element? What is the <select> element?