Back to Puppeteer

Frame.content() method

docs/api/puppeteer.frame.content.md

19.2.2202 B
Original Source

Frame.content() method

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

Signature

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

Returns:

Promise<string>