我正在尝试使用此值填写下拉列表
我的代码:
_input_state = browser.find_element_by_class_name("k-input")
_input_state.focus()
_input_state.send_keys(Keys.ARROW_DOWN)
_input_state.send_keys(Keys.ARROW_DOWN)
_input_state.send_keys(Keys.ARROW_DOWN)
_input_state.send_keys(Keys.ARROW_DOWN)
_input_state.send_keys(Keys.ARROW_DOWN)
_input_state.send_keys(Keys.ARROW_DOWN)
time.sleep(2)
但是我似乎无法选择它。有什么帮助吗?正确值应为:
> <span unselectable="on" class="k-input">Medrepair - Smirnoffweg
> Rotterdam</span>
预先感谢