The html source is below
<select id="ca_vdcs" class="pulldown small" name="vdc" style="display: none;"> <option>-- Select a vDC --</option> <option>Platform-VDC-org</option> </select>
I want to select "Platform-VDC-org", but the code below does not work.
select = browser.find_element_by_id('ca_vdcs') select.find_element_by_xpath("//option[@value='Platform-VDC-org']").click()
source share