title: Headless, scriptable Firefox/Webkit on linux?
body: <p>I'm looking to automate some web interactions, namely periodic download of files from a secure website. This basically involves entering my username/password and navigating to the appropriate URL.</p>
  
  <p>I tried simple scripting in Python, followed by more sophisticated scripting, only to discover this particular website is using some obnoxious javascript and flash based mechanism for login, rendering my methods useless. </p>
  
  <p>I then tried HTMLUnit, but that doesn't seem to want to work either. I suspect use of Flash is the issue.</p>
  
  <p>I don't really want to think about it any more, so I'm leaning towards scripting an actual browser to log in and grab the file I need. </p>
  
  <p>Requirements are:</p>
  
  <ul>
  <li>Run on linux server (ie. no X running). If I really need to have X I can make that happen, but I won't be happy.</li>
  <li>Be reliable. I want to start this thing and never think about it again.</li>
  <li>Be scriptable. Nothing too sophisticated, but I should be able to tell the browser the various steps to take and pages to visit.</li>
  </ul>
  
  <p>Are there any good toolkits for a headless, X-less scriptable browser? Have you tried something like this and if so do you have any words of wisdom?</p>