Files
browser-automation-botGitHubrelease-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
4d7b677d1d chore: release main (#15201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2026-07-27 14:29:23 +02:00

660 B

sidebar_label
sidebar_label
Page.setContent

Page.setContent() method

Set the content of the page.

Signature

class Page {
  setContent(html: string, options?: SetContentWaitForOptions): Promise<void>;
}

Parameters

Parameter

Type

Description

html

string

HTML markup to assign to the page.

options

SetContentWaitForOptions

(Optional) Parameters that has some properties.

Returns:

Promise<void>