use WWW::Scripter; my $agent = new WWW::Scripter; my $username = 'username'; my $pass= 'password'; $agent->use_plugin('JavaScript'); $agent->get('http://192.168.0.1/'); $agent->cookie_jar(HTTP::Cookies->new); $agent->form_name("loginForm"); $agent->field('userName' => $username); $agent->field('pcPassword' => $pass); $agent->click();
In reply to Automating backup with WWW::Scripter by bachoA4o
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |