I'm very new to Python so forgive me if this isn't completely comprehensible. I'm trying to select from a combobox in a webpage. All the examples I've seen online are choosing from a list where the options are embedded within the code. I believe my issue is that the list I'm dealing with does not. The list is dynamic and the values are stored in a table.
So using the Select class method I keep getting the "Select only works on select elements, not on input" when using a command like this
Select(driver.find_element_by_xpath("//*[@id='sppProcessForm']/div[1]/form/table/tbody/tr/td[1]/span/input")).select_by_value('Q2-2018 Q2 GUIDANCE')
I get the unable to locate an element error when trying to use the Option method.
Here is the source code for the combobox along with the dropdown button. As you can see, no list options. I also just started learning about HTML so not sure how all that works.
<span class="custom-combobox"><input title="" class="custom-combobox-input ui-widget ui-widget-content ui-corner-left ui-autocomplete-input" autocomplete="off">
<a tabindex="-1" class="ui-button ui-widget ui-button-icon-only custom-anchor custom-combobox-toggle ui-corner-right" role="button">
<span class="ui-button-icon ui-icon ui-icon-triangle-1-s"></span><span class="ui-button-icon-space"> </span></a></span><span class="ui-button-icon-space"> </span>