Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 574 Bytes

puppeteer.page.setcontent.md

File metadata and controls

23 lines (14 loc) · 574 Bytes

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>