Skip to main content
Version: 17.1.2

Frame.content() method

Signature:

class Frame {
content(): Promise<string>;
}

Returns:

Promise<string>

The full HTML contents of the frame, including the DOCTYPE.