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

title

Get the page title. Upstream docs
result
string
Return value
await page.title();

url

Get the current URL. Upstream docs
result
string
Return value
await page.url();

content

Get the full HTML content. Upstream docs
result
string
Return value
await page.content();

setContent

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

viewport

Get the current viewport. Upstream docs
result
PuppeteerViewport | null
Return value
await page.viewport();