I am trying to use python selenium to select an element from a drop-down-bar, and also select the start_date and end_date. Please find the url:
<select title="drop_down" name="sType1" class="single_select2" style="display: none;" id="single_select_2">
<option value="">choice</option>
","
<option value="2101">issuance</option>
","
<option value="2701">listing</option>
","
</select>
and I use code:
driver.get('http://www.sse.com.cn/disclosure/bond/announcement/npcorporate/')
driver.implicitly_wait(20)
s1 = Select(driver.find_element_by_id('single_select_2'))
driver.implicitly_wait(20)
s1.select_by_value('2101')
driver.find_element_by_id('btnQuery').click()
but the website says:
ElementNotInteractableException: element not interactable: Element is not currently visible and may not be manipulated' how could I make it visible and able to select it?
and I dont know how to put my code to select dates. Could it be possible?
Any help will be appreciated!