Skip to main content
Frame page info methods for the Puppeteer driver.

url

The frame’s URL. Upstream docs
result
string
Return value
await frame.url();

title

The frame’s title. Upstream docs
result
string
Return value
await frame.title();

content

The full HTML contents of the frame. Upstream docs
result
string
Return value
await frame.content();

setContent

Set the content of the frame. Upstream docs
html
string
required
options
{ timeout?: number; waitUntil?: string }
await frame.setContent('...');