From what I have been told and seen to date, Mechanize and it's derivatives do not process the JavaScript within the page. Is that assessment incorrect?
It may be possible to find the script nodes and process them with JavaScript, but that would get a little hairy when it came to the src includes inside a page.
Don Everything I've learned in life can be summed up in a small perl script!
Comment on Re^2: Running JavaScript in perl by proxy
WWW::Mechanize doesn't do javascript, but the other *Mechanize and Selenium modules I mentioned provide a scriptable API but use "normal" GUI browsers to do the real work. Which means they do more or less everything IE/Mozilla/Safari do, including Javascript.