in reply to Re: How to make Perl modify and trigger Javascript variable/function
in thread How to make Perl modify and trigger Javascript variable/function

I'll taken a look, IEAutomation seems to be winning - found some interesting snippets. Still to figure out how to intercept the js variable setting. Thanks!
  • Comment on Re^2: How to make Perl modify and trigger Javascript variable/function

Replies are listed 'Best First'.
Re^3: How to make Perl modify and trigger Javascript variable/function
by Corion (Patriarch) on Nov 27, 2009 at 20:37 UTC

    If you can make the site work under FireFox, WWW::Mechanize::FireFox has the ->eval_in_page() method that allows you to run arbitrary Javascript in the context of a web page and transfer the result back to Perl. But it only works in FireFox, not in Internet Explorer.

      Thanks for the suggestion - unfortunately the site doesn't work under Firefox - I even tried Firefox add-on UserAgent switcher to fake it.

      I don't know much about Javascript so I guess a bit of toil!

      I have found things like WWW:Selenium which sounds interesting (but haven't tried yet)