mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e2e050259f
I noticed that DOMWorld was spitting a lot of warnings out when we generated the docs. It was mostly easy tidy-ups and removing old JSDoc comments and now the warnings are gone :)
807 B
807 B
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>