puppeteer/website/versioned_docs/version-9.1.1/puppeteer.frame.content.md
2021-08-10 11:09:48 +01:00

408 B

Home > puppeteer > Frame > content

Frame.content() method

Signature:

content(): Promise<string>;

Returns:

Promise<string>

the full HTML contents of the frame, including the doctype.