views:

51

answers:

2

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!

A: 

You need some kind of extension, such as an ActiveX or java applet. It would be a security venerability if a web site can force the browser to download file without the user's consent.

Sheng Jiang 蒋晟
A: 

I picked Watir.

ohho