Thanks for you help! I read the documentation of both JE and SpiderMonkey. Gave JE a shot but i m unable to proceed. Here is the code that i wrote to test JE:
use strict; use warnings; use JE; use Data::Dumper; use File::Slurp; my $je = new JE; $je->html_mode(1); $je->eval(scalar read_file 'output.js'); my $return_val = $je->eval('start()') or die $@;
The file output.js has the content of the javascript webpage that i want to parse.When i run the above script the JE failes with the follwing error:
ReferenceError: The variable start has not been declared at line 1.
Thanks!
In reply to Re^4: Automate WebLogin
by libvenus
in thread Automate WebLogin
by libvenus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |