Latest
method Frame.prototype.setContent
import { Frame } from "https://dotland.deno.dev/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/types.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>