title: Download a file with PhantomJs
body: <p>I'm trying to download a file using PhantomJs headless browser. The button that I have to press to start the download is in a Javascript form. I don't know how to handle the download dialog box and I find no documentation about it.</p>
  
  <p>I need to be logged to perform the download.</p>
  
  <p>Does anyone information about this kind of action ?</p>