How to automate IE/Firefox to download some files from a https: website with Javascript links?

Posted by Horace Ho on Stack Overflow See other posts from Stack Overflow or by Horace Ho
Published on 2010-04-30T07:25:02Z Indexed on 2010/04/30 7:27 UTC
Read the original article Hit count: 139

Some of my users download several pdf files from an internet website regularly. They'd like to automate the process to save a few minutes every day, and most importantly, to minimize errors.

I tried mechanize but failed as mechanize does not process javascripts. Since the download links in the remote site are all triggered by javescript, I am looking for solutions to automate the browser itself. Any recommendations?

  • https remote server
  • login and search are FORM POST
  • file download link are JavaScripts
  • on win32
  • IE or Firefox

thanks!

© Stack Overflow or respective owner

Related posts about automation

Related posts about javascript-execution