The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WWW::Webrobot::Print::Html - write response content to the file system

DESCRIPTION

This module stores received content together with some navigation files onto your file system. You can view this site with any ordinary webbrowser that supports frames via the file://host/filename protocol (of course you may easily direct a webserver to show this site).

OUTPUT FORMAT

The output frames are numbered for reference purpose.

 +---+------------------------------+
 |   |                              |
 |   |               2              |
 |   |                              |
 |   +-----------------+------------+
 |   |                 |            |
 | 1 |                 |            |
 |   |       3         |    4       |
 |   |                 |            |
 |   |                 |            |
 |   |                 |            |
 +---+-----------------+------------+

 Frame  Description
 ======================================================================
 1      Single request/response.
        * select 'all' or 'failed' request
        * lines starting with '...' are dependend requests,
          see L<WWW::Webrobot::pod::Recur>
 2      * Testplan data along with result
        * Redirections and authentification
          * HTTP return code for every single request
          * click selects frames 3-4
 3      Request Header, Response Header, return code and code description
 4      Response content for
            source
                the source of the content
            display
                displayable (most browser don't do their best)
            display-xhtml
                xhtml if it was converted somewhere

METHODS

See WWW::Webrobot::pod::OutputListeners.

$obj->new (%parms)
 dir   [optional] Directory name where to put the files
       DEFAULT: output_html/<testplanname>