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


webrobot documentation  | view source Contained in the webrobot distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

Helper class.

METHODS

Top

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


webrobot documentation  | view source Contained in the webrobot distribution.