Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method DOMWorld.prototype.setContent
Re-export
import { DOMWorld } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";

Parameters

html: string
optional
options: { timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; }

Returns

Promise<void>