Stefan Trcek > webrobot-0.81 > WWW::Webrobot::UserAgentConnection

Download:
webrobot-0.81.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WWW::Webrobot::UserAgentConnection - create and configure a user agent

SYNOPSIS ^

 WWW::Webrobot::UserAgentConnection -> new($cfg, user => $user);

DESCRIPTION ^

Helper class.

METHODS ^

WWW::Webrobot::UserAgentConnection -> new ($cfg, %opt)
 $cfg
        Config, see L<WWW::Webrobot::pod::Config>
 %opt
        user => "an id for a user agent"
$conn -> ua

Get the user agent, see LWP::UserAgent

$conn -> cfg

Get the (internal) config data structure

$user -> treat_single_url ($arg, $sym_tbl)

$arg is an entry of a testplan, see WWW::Webrobot::pod::Testplan.

Returns the fail state

syntax highlighting: