Scroll to navigation

CGI::Test::Page::HTML(3pm) User Contributed Perl Documentation CGI::Test::Page::HTML(3pm)

NAME

CGI::Test::Page::HTML - A HTML page reply

SYNOPSIS

 # Inherits from CGI::Test::Page::Real

DESCRIPTION

This class represents an HTTP reply containing "text/html" data. When testing CGI scripts, this is usually what one gets back.

INTERFACE

The interface is the same as the one described in CGI::Test::Page::Real, with the following addition:
"tree"
Returns the root of the HTML tree of the page content, as an HTML::Element node.

AUTHORS

The original author is Raphael Manfredi.

Steven Hilton was long time maintainer of this module.

Current maintainer is Alexander Tokarev <tokarev@cpan.org>.

SEE ALSO

CGI::Test::Page::Real(3), HTML::Element(3).
2021-01-08 perl v5.32.0