Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
namespace default.Page
import { default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Page } = default;

Actions and events related to the inspected page belong to the page domain.

Interfaces

Indicates whether a frame has been identified as an ad and why.

Error while paring app manifest.

Parsed app manifest properties.

Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do not assume any ordering with the Page.frameNavigated event. This event is fired only for main-frame history navigation where the document changes (non-same-document navigations), when bfcache navigation fails.

Per-script compilation cache parameters for Page.produceCompilationCache

Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled.

Fired when opening document to write to.

Fired when download makes progress. Last call has |done| == true. Deprecated. Use Browser.downloadProgress instead.

Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.

Emitted only when page.interceptFileChooser is enabled.

Generic font families collection.

Default font sizes.

Information about the Frame on the page.

Fired when frame has been attached to its parent.

Fired when frame no longer has a scheduled navigation.

Fired when frame has been detached from its parent.

Fired once navigation of the frame has completed. Frame is now associated with the new loader.

Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.

Information about the Resource on the page.

Information about the Frame hierarchy along with their cached resources.

Fired when frame schedules a potential navigation.

Fired when frame has started loading.

Fired when frame has stopped loading.

Information about the Frame hierarchy.

The installability error

Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.

Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.

Layout viewport position and dimensions.

Fired for top level page lifecycle events such as navigation, load, paint, etc.

Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.

Navigation history entry.

Compressed image data requested by the startScreencast.

Screencast frame metadata.

Fired when the page with currently enabled screencast was shown or hidden `.

Font families collection for a script.

Viewport for capturing screenshot.

Visual viewport position, dimensions, and scale.

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

Type Aliases

Indicates whether a frame has been identified as an ad.

List of not restored reasons for back-forward cache.

Types of not restored reasons for back-forward cache.

Indicates whether the frame is cross-origin isolated and why it is the case.

Javascript dialog type.

Unique frame identifier.

The type of a frameNavigated event.

Status for an Origin Trial.

Origin Trial(https://www.chromium.org/blink/origin-trials) support. Status for an Origin Trial token.

Reason for a permissions policy feature to be disabled.

All Permissions Policy features. This enum should match the one defined in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.

The referring-policy used for the navigation.

Unique script identifier.

Indicates whether the frame is a secure context and why it is the case.

Transition type.