mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
* docs(new): migrate Page.ts to TSDoc (part 0 / 2) Co-authored-by: Changhao Han <changhaohan@chromium.org>
574 B
574 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>