my $mech = WWW::Scripter->new(); $mech->agent('Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.9.2.3) Gecko/201 00401'); $mech->use_plugin(JavaScript => engine => 'JE', ); $mech->get("https://www.mywesite.com/plp/login.do"); print $mech->content; $mech->submit_form( with_fields => { userId => 'myId', pass => 'myPass' } );