I want to select all the option values from a dropdown menu, but when selecting the latter no output appears. Any ideas why is this happening?
Html Code:
<select class="Combo" id="cmbSecciones" onchange="FiltrarCombos(this,this.item(this.selectedIndex).value);LlenarComboCargo(this,this.item(this.selectedIndex).value)
My code:
driver = webdriver.Chrome('/Users/Administrador/Documents/chromedriver') main_url = 'https://www.justiciacordoba.gob.ar/Estatico/JEL/Escrutinios/ReportesEleccion20190512/default.html' driver.get(main_url) driver.switch_to.frame("topFrame") dropdown= driver.find_element_by_xpath('//*[@id="cmbSecciones"]') dropdown
output:
<selenium.webdriver.remote.webelement.WebElement (session="34e889c18eb0b5f5dbe6a18d6107389e", element="245e4c6a-e564-460e-9dd9-d678c7028c2d")>