--- sidebar_label: Page.setContent --- # Page.setContent() method Set the content of the page. #### Signature: ```typescript class Page { setContent(html: string, options?: WaitForOptions): Promise; } ``` ## Parameters
Parameter Type Description
html string HTML markup to assign to the page.
options [WaitForOptions](./puppeteer.waitforoptions.md) _(Optional)_ Parameters that has some properties.
**Returns:** Promise<void>