Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
namespace default.Page
import { default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { Page } = default;

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

Interfaces

Error while paring app manifest.

Parsed app manifest properties.

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

Fired when download makes progress. Last call has |done| == true.

Fired when page is about to start a download.

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 `.

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.

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

Javascript dialog type.

Unique frame identifier.

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.