puppeteer/docs/api/puppeteer.frame.content.md
2022-07-01 11:52:39 +00: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.