Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 807 Bytes

puppeteer.frame.setcontent.md

File metadata and controls

26 lines (17 loc) · 807 Bytes

Home > puppeteer > Frame > setContent

Frame.setContent() method

Signature:

setContent(html: string, options?: {
        timeout?: number;
        waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[];
    }): Promise<void>;

Parameters

Parameter Type Description
html string
options { timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; }

Returns:

Promise<void>