in reply to Re^2: how to access HTML within a javascript
in thread how to access HTML within a javascript

Indeed. WWW::Scripter is powered by JE, a very good pure Perl Javascript implementation. Other Javascript implementations for Perl include JavaScript::SpiderMonkey and JavaScript::V8 which are generally faster but offer poorer integration between the Javascript code and the Perl code.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
  • Comment on Re^3: how to access HTML within a javascript

Replies are listed 'Best First'.
Re^4: how to access HTML within a javascript
by Special_K (Pilgrim) on Mar 20, 2013 at 15:41 UTC

    I'm reading the documentation for WWW::Scripter::Plugin::Javascript and it's not immediately clear to me how to use it to access the HTML that is released by the html.js script that runs on the webpage. Do I somehow use WWW::Scripter::Plugin::Javascript to force the script to run on the website and then capture the output?

      I'm reading the documentation for WWW::Scripter::Plugin::Javascript and it's not immediately clear to me how to use it to access the HTML that is released by the html.js script that runs on the webpage. Do I somehow use WWW::Scripter::Plugin::Javascript to force the script to run on the website and then capture the output?

      No. The plugin adds support to the browser (WWW::Scripter) so it can execute javascript on webpages -- sometimes it works, sometimes it doesn't, its alpha-quality

      It seems you have a conceptual gap in your knowledge, see learn about the internet,Web Programming: For Beginners, to get an overall picture of how the internet works, how tcp/ip, sockets, websites, html, ajax, all fit together.