puppeteer/new-docs/puppeteer.page.setcontent.md

541 B

Home > puppeteer > Page > setContent

Page.setContent() method

Signature:

setContent(html: string, options?: WaitForOptions): Promise<void>;

Parameters

Parameter Type Description
html string
options WaitForOptions

Returns:

Promise<void>