puppeteer/website/versioned_docs/version-19.5.1/api/puppeteer.frame.content.md
2023-01-11 16:26:44 +01:00

243 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.