title: Any Python alternatives to Selenium for programmatically logging into websites that require JavaScript for login?
body: <p>I’m writing a little private app to automatically log into my internet banking every day, and download the latest transactions. I’m writing it as a Django app, so I’m working in Python.</p>
  
  <p>My internet banking doesn’t seem to work without JavaScript — I think it uses JavaScript to assign a session ID of some sort. Fetching the sign-in page via <code>httplib</code> gives me a page telling me JavaScript’s required.</p>
  
  <p>So, I’m now looking for libraries that fetch web pages, <strong>and</strong> execute the JavaScript on them. Pretty much headless browsers.</p>
  
  <p>I’m fiddling about <a href="http://seleniumhq.org/" rel="noreferrer">Selenium</a> at the moment. I think it’ll do the job, although it is designed for testing web apps, so I was wondering if there was anything with similar capabilities designed for more general purposes than testing.</p>
  
  <p>Any Python alternatives to Selenium for this sort of thing?</p>