[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [setContent](./puppeteer.page.setcontent.md) ## Page.setContent() method Signature: ```typescript setContent(html: string, options?: WaitForOptions): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | html | string | | | options | [WaitForOptions](./puppeteer.waitforoptions.md) | | Returns: Promise<void>