I'm trying to use mechanize for python to submit a form but the form control I need to fill in doesnt have a name assigned to it.
<POST https://sample.com/anExample multipart/form-data
<HiddenControl(post_authenticity_token=) (readonly)>
<HiddenControl(iframe_callback=) (readonly)>
<TextareaControl(<None>=)>>
The control I'm trying to edit is the last control in the above object, <TextareaControl(<None>=)>
.
I've looked at the documentation and cant seem to find a way to assign a value to that control since it doesnt have a name associated with it.
forms = [f for f in br.forms()]
print forms[2].controls[5].name
Outputs "None"