Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Frame.prototype.setContent
import { Frame } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/FrameManager.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>