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

Parameters

html: string
  • HTML markup to assign to the page.
optional
options: WaitForOptions
  • Parameters that has some properties.

Returns

Promise<void>