Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Frame.prototype.setContent
import { Frame } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Frame.d.ts";

Set the content of the frame.

Parameters

html: string
  • HTML markup to assign to the page.
optional
options: { timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; }
  • Options to configure how long before timing out and at what point to consider the content setting successful.

Returns

Promise<void>