标签: python mechanize mechanize-python
我想为select控件设置一个值,但html中没有表单,所以当我尝试按名称获取组件时,如下所示:
br.select_form(nr=0) br.find_control(name="selectName").value = ["value"]
我收到此消息:
mechanize._form.ControlNotFoundError: no control matching name 'combo-disciplina-idigital-class'
我能做些什么吗?