in reply to Re: Error while using WWW::Mechanize
in thread Error while using WWW::Mechanize

Also see WWW::Scripter, which has a Javascript emulator as backend but doesn't conveniently show up in a "Mechanize" search. I haven't used it myself as I didn't have the necessity of headlessly automating a Javascript-laden website.