puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.frame.content.md
2022-10-06 12:22:55 +02:00

242 B

sidebar_label
Frame.content

Frame.content() method

Signature:

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

Returns:

Promise<string>

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