---
name: "CGI::Test::Page::HTML"
section: "3pm"
platform: "linux"
package: "libcgi-test-perl"
version: "1.111-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/CGI::Test::Page::HTML"
---

# CGI::Test::Page::HTML(3pm)

A HTML page reply

## 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).
