I'm writing a script to download a pdf automatically.
Firstly, I open the url manually, it will redirect to a login website.
and I type my username and password, and click "submit".
Then download will start directly.
During this procedure, I check the firebug, I find there is no post while I click "submit".
I'm not familiar with this behavior, that means the pdf(300K) is saved before I submit?
If there is no post, then I must use some tool like selenium to simulate this "click"?
Is there no request at all, or a GET request? I suspect there is a GET request. In that case, did you turn Persist on in Firebug's Net tab? Possibly the POST request was hidden after redirects.
No post request after submitting a form when I want to download a PDF