in reply to Mozilla::Mechanize question

I'm think No :-(. It very hard to handle Javascript such as handlers and javascript: links.

You can try install LiveHTTPHeaders for Firefox and record request which your browser do than you make some page activity (e.g. clicking a button). And after that you can repeat those requests in your script.