puppeteer/new-docs/puppeteer.page.setcontent.md
Changhao Han adeffbaac1
docs(new): migrate Page.ts to TSDoc (part 0 / 2) (#6104)
* docs(new): migrate Page.ts to TSDoc (part 0 / 2)

Co-authored-by: Changhao Han <changhaohan@chromium.org>
2020-06-26 09:24:56 +02:00

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>