Search code examples
phppostautomationscriptinggreasemonkey

Automate getting report from webpage


I'm a Java developer and I have a question about automating a task I've been given.

I'm having to 3 times daily, login to this website we have at work, select a few form elements and then click on submit to get a report printed out.

I'm wondering how I can write some sort of script that will automate this task? Where should I start? What language should I do it in? I was thinking PHP might be able to do this or even a greasemonkey script possibly?

Thanks a lot.


Solution

  • Check out cURL in PHP. It allows you to do all the normal functions of a web browser with code (other than moving the mouse). And yes, you'll need to do screen scraping.