bachoA4o has asked for the wisdom of the Perl Monks concerning the following question:
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();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Automating backup with WWW::Scripter
by bliako (Abbot) on Apr 16, 2019 at 09:14 UTC | |
by bachoA4o (Sexton) on Apr 16, 2019 at 10:37 UTC | |
by bliako (Abbot) on Apr 16, 2019 at 11:11 UTC | |
|
Re: Automating backup with WWW::Scripter
by choroba (Cardinal) on Apr 16, 2019 at 11:57 UTC | |
by bachoA4o (Sexton) on Apr 16, 2019 at 12:12 UTC |