ClientForm .click() oddity
John J. Lee
jjl at pobox.com
Thu May 24 14:59:18 EDT 2007
Gordon Airporte <JHoover at fbi.gov> writes:
[...]
> Simply .click()ing on the form does not properly fill in
> submit_button=Forward&action=apply, however. The arguments are there
> but with no values.
> Is this because ClientForm doesn't run javascript,
Yes.
> or is there a way
> to determine and fix these values without manually editing the .data
> string of the Request with values I have to find on my own?
No. (Strictly, it shouldn't be necessary to actually edit the data
string -- you should be able to use the API to do it -- but I'm not
sure that's fully documented and tested, so that may not work
correctly. Either way, you have to do it manually.)
John
More information about the Python-list
mailing list