There are two selects. The second has the display: none property and appears only when the first one is selected. I choose the first one without any problems:
br = Browser() br.open(url) br.select_form(nr=0) br.find_control(name='category_id').value = ["84"]
second control:
br.find_control(name="param").value = ["1"] Traceback (most recent call last): File "C:/main.py", line 25, in <module> br.find_control(name="param").value = ["1"] File "build\bdist.win32\egg\mechanize\_form.py", line 3101, in find_control File "build\bdist.win32\egg\mechanize\_form.py", line 3185, in _find_control mechanize._form.ControlNotFoundError: no control matching name 'param'
How to set the value of the second select?