The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

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