Skip to main content
Version: 15.3.1

Frame.content() method

Signature:

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

Returns:

Promise<string>

the full HTML contents of the frame, including the doctype.