Files
puppeteer/docs/api/puppeteer.frame.content.md
2023-03-30 11:54:00 +00:00

243 B

sidebar_label
sidebar_label
Frame.content

Frame.content() method

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

Signature:

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

Returns:

Promise<string>