Module chrome_remote_interface_model::page[][src]

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

Structs

AddCompilationCacheCommand

Seeds compilation cache for given url. Compilation cache does not survive cross-process navigation.

AddCompilationCacheReturn

Seeds compilation cache for given url. Compilation cache does not survive cross-process navigation.

AddScriptToEvaluateOnLoadCommandDeprecated

Deprecated, please use addScriptToEvaluateOnNewDocument instead.

AddScriptToEvaluateOnLoadReturnDeprecated

Deprecated, please use addScriptToEvaluateOnNewDocument instead.

AddScriptToEvaluateOnNewDocumentCommand

Evaluates given script in every frame upon creation (before loading frame's scripts).

AddScriptToEvaluateOnNewDocumentReturn

Evaluates given script in every frame upon creation (before loading frame's scripts).

AppManifestError

Error while paring app manifest.

AppManifestErrorBuilder
AppManifestParsedProperties

Parsed app manifest properties.

BringToFrontCommand

Brings page to front (activates tab).

BringToFrontReturn

Brings page to front (activates tab).

CaptureScreenshotCommand

Capture page screenshot.

CaptureScreenshotCommandBuilder
CaptureScreenshotReturn

Capture page screenshot.

CaptureSnapshotCommand

Returns a snapshot of the page as a string. For MHTML format, the serialization includes iframes, shadow DOM, external resources, and element-inline styles.

CaptureSnapshotReturn

Returns a snapshot of the page as a string. For MHTML format, the serialization includes iframes, shadow DOM, external resources, and element-inline styles.

ClearCompilationCacheCommand

Clears seeded compilation cache.

ClearCompilationCacheReturn

Clears seeded compilation cache.

ClearDeviceMetricsOverrideCommandDeprecated

Clears the overriden device metrics.

ClearDeviceMetricsOverrideReturnDeprecated

Clears the overriden device metrics.

ClearDeviceOrientationOverrideCommandDeprecated

Clears the overridden Device Orientation.

ClearDeviceOrientationOverrideReturnDeprecated

Clears the overridden Device Orientation.

ClearGeolocationOverrideCommandDeprecated

Clears the overriden Geolocation Position and Error.

ClearGeolocationOverrideReturnDeprecated

Clears the overriden Geolocation Position and Error.

CloseCommand

Tries to close page, running its beforeunload hooks, if any.

CloseReturn

Tries to close page, running its beforeunload hooks, if any.

CompilationCacheProducedEvent

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

CrashCommand

Crashes renderer on the IO thread, generates minidumps.

CrashReturn

Crashes renderer on the IO thread, generates minidumps.

CreateIsolatedWorldCommand

Creates an isolated world for the given frame.

CreateIsolatedWorldReturn

Creates an isolated world for the given frame.

DeleteCookieCommandDeprecated

Deletes browser cookie with given name, domain and path.

DeleteCookieReturnDeprecated

Deletes browser cookie with given name, domain and path.

DisableCommand

Disables page domain notifications.

DisableReturn

Disables page domain notifications.

DomContentEventFiredEvent
DownloadProgressEvent

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

DownloadProgressEventBuilder
DownloadWillBeginEvent

Fired when page is about to start a download.

DownloadWillBeginEventBuilder
EnableCommand

Enables page domain notifications.

EnableReturn

Enables page domain notifications.

FileChooserOpenedEvent

Emitted only when page.interceptFileChooser is enabled.

FontFamilies

Generic font families collection.

FontFamiliesBuilder
FontSizes

Default font sizes.

Frame

Information about the Frame on the page.

FrameAttachedEvent

Fired when frame has been attached to its parent.

FrameBuilder
FrameClearedScheduledNavigationEventDeprecated

Fired when frame no longer has a scheduled navigation.

FrameDetachedEvent

Fired when frame has been detached from its parent.

FrameId

Unique frame identifier.

FrameNavigatedEvent

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

FrameRequestedNavigationEvent

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

FrameRequestedNavigationEventBuilder
FrameResizedEvent
FrameResource

Information about the Resource on the page.

FrameResourceBuilder
FrameResourceTree

Information about the Frame hierarchy along with their cached resources.

FrameScheduledNavigationEventDeprecated

Fired when frame schedules a potential navigation.

FrameScheduledNavigationEventBuilderDeprecated
FrameStartedLoadingEvent

Fired when frame has started loading.

FrameStoppedLoadingEvent

Fired when frame has stopped loading.

FrameTree

Information about the Frame hierarchy.

GenerateTestReportCommand

Generates a report for testing.

GenerateTestReportReturn

Generates a report for testing.

GetAppManifestCommand
GetAppManifestReturn
GetAppManifestReturnBuilder
GetCookiesCommandDeprecated

Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field.

GetCookiesReturnDeprecated

Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field.

GetFrameTreeCommand

Returns present frame tree structure.

GetFrameTreeReturn

Returns present frame tree structure.

GetInstallabilityErrorsCommand
GetInstallabilityErrorsReturn
GetLayoutMetricsCommand

Returns metrics relating to the layouting of the page, such as viewport bounds/scale.

GetLayoutMetricsReturn

Returns metrics relating to the layouting of the page, such as viewport bounds/scale.

GetManifestIconsCommand
GetManifestIconsReturn
GetNavigationHistoryCommand

Returns navigation history for the current page.

GetNavigationHistoryReturn

Returns navigation history for the current page.

GetResourceContentCommand

Returns content of the given resource.

GetResourceContentReturn

Returns content of the given resource.

GetResourceTreeCommand

Returns present frame / resource tree structure.

GetResourceTreeReturn

Returns present frame / resource tree structure.

HandleJavaScriptDialogCommand

Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).

HandleJavaScriptDialogReturn

Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).

InstallabilityError

The installability error

InstallabilityErrorArgument
InterstitialHiddenEvent

Fired when interstitial page was hidden

InterstitialShownEvent

Fired when interstitial page was shown

JavascriptDialogClosedEvent

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

JavascriptDialogOpeningEvent

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

JavascriptDialogOpeningEventBuilder
LayoutViewport

Layout viewport position and dimensions.

LayoutViewportBuilder
LifecycleEventEvent

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

LifecycleEventEventBuilder
LoadEventFiredEvent
NavigateCommand

Navigates current page to the given URL.

NavigateCommandBuilder
NavigateReturn

Navigates current page to the given URL.

NavigateToHistoryEntryCommand

Navigates current page to the given history entry.

NavigateToHistoryEntryReturn

Navigates current page to the given history entry.

NavigatedWithinDocumentEvent

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

NavigationEntry

Navigation history entry.

NavigationEntryBuilder
PrintToPdfCommand

Print page as PDF.

PrintToPdfCommandBuilder
PrintToPdfReturn

Print page as PDF.

ReloadCommand

Reloads given page optionally ignoring the cache.

ReloadReturn

Reloads given page optionally ignoring the cache.

RemoveScriptToEvaluateOnLoadCommandDeprecated

Deprecated, please use removeScriptToEvaluateOnNewDocument instead.

RemoveScriptToEvaluateOnLoadReturnDeprecated

Deprecated, please use removeScriptToEvaluateOnNewDocument instead.

RemoveScriptToEvaluateOnNewDocumentCommand

Removes given script from the list.

RemoveScriptToEvaluateOnNewDocumentReturn

Removes given script from the list.

ResetNavigationHistoryCommand

Resets navigation history for the current page.

ResetNavigationHistoryReturn

Resets navigation history for the current page.

ScreencastFrameAckCommand

Acknowledges that a screencast frame has been received by the frontend.

ScreencastFrameAckReturn

Acknowledges that a screencast frame has been received by the frontend.

ScreencastFrameEvent

Compressed image data requested by the startScreencast.

ScreencastFrameMetadata

Screencast frame metadata.

ScreencastFrameMetadataBuilder
ScreencastVisibilityChangedEvent

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

ScriptIdentifier

Unique script identifier.

SearchInResourceCommand

Searches for given string in resource content.

SearchInResourceCommandBuilder
SearchInResourceReturn

Searches for given string in resource content.

SetAdBlockingEnabledCommand

Enable Chrome's experimental ad filter on all sites.

SetAdBlockingEnabledReturn

Enable Chrome's experimental ad filter on all sites.

SetBypassCspCommand

Enable page Content Security Policy by-passing.

SetBypassCspReturn

Enable page Content Security Policy by-passing.

SetDeviceMetricsOverrideCommandDeprecated

Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media query results).

SetDeviceMetricsOverrideCommandBuilderDeprecated
SetDeviceMetricsOverrideReturnDeprecated

Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media query results).

SetDeviceOrientationOverrideCommandDeprecated

Overrides the Device Orientation.

SetDeviceOrientationOverrideReturnDeprecated

Overrides the Device Orientation.

SetDocumentContentCommand

Sets given markup as the document's HTML.

SetDocumentContentReturn

Sets given markup as the document's HTML.

SetDownloadBehaviorCommandDeprecated

Set the behavior when downloading a file.

SetDownloadBehaviorReturnDeprecated

Set the behavior when downloading a file.

SetFontFamiliesCommand

Set generic font families.

SetFontFamiliesReturn

Set generic font families.

SetFontSizesCommand

Set default font sizes.

SetFontSizesReturn

Set default font sizes.

SetGeolocationOverrideCommandDeprecated

Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.

SetGeolocationOverrideReturnDeprecated

Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.

SetInterceptFileChooserDialogCommand

Intercept file chooser requests and transfer control to protocol clients. When file chooser interception is enabled, native file chooser dialog is not shown. Instead, a protocol event Page.fileChooserOpened is emitted.

SetInterceptFileChooserDialogReturn

Intercept file chooser requests and transfer control to protocol clients. When file chooser interception is enabled, native file chooser dialog is not shown. Instead, a protocol event Page.fileChooserOpened is emitted.

SetLifecycleEventsEnabledCommand

Controls whether page will emit lifecycle events.

SetLifecycleEventsEnabledReturn

Controls whether page will emit lifecycle events.

SetProduceCompilationCacheCommand

Forces compilation cache to be generated for every subresource script.

SetProduceCompilationCacheReturn

Forces compilation cache to be generated for every subresource script.

SetTouchEmulationEnabledCommandDeprecated

Toggles mouse event-based touch event emulation.

SetTouchEmulationEnabledReturnDeprecated

Toggles mouse event-based touch event emulation.

SetWebLifecycleStateCommand

Tries to update the web lifecycle state of the page. It will transition the page to the given state according to: https://github.com/WICG/web-lifecycle/

SetWebLifecycleStateReturn

Tries to update the web lifecycle state of the page. It will transition the page to the given state according to: https://github.com/WICG/web-lifecycle/

StartScreencastCommand

Starts sending each frame using the screencastFrame event.

StartScreencastCommandBuilder
StartScreencastReturn

Starts sending each frame using the screencastFrame event.

StopLoadingCommand

Force the page stop all navigations and pending resource fetches.

StopLoadingReturn

Force the page stop all navigations and pending resource fetches.

StopScreencastCommand

Stops sending each frame in the screencastFrame.

StopScreencastReturn

Stops sending each frame in the screencastFrame.

Viewport

Viewport for capturing screenshot.

ViewportBuilder
VisualViewport

Visual viewport position, dimensions, and scale.

VisualViewportBuilder
WaitForDebuggerCommand

Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.

WaitForDebuggerReturn

Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.

WindowOpenEvent

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

WindowOpenEventBuilder

Enums

AdFrameType
CaptureScreenshotCommandFormat
CaptureSnapshotCommandFormat
ClientNavigationDisposition
ClientNavigationReason
CrossOriginIsolatedContextType
DialogType
DownloadProgressEventState
FileChooserOpenedEventMode
FrameDetachedEventReason
GatedApiFeatures
PrintToPdfCommandTransferMode
ReferrerPolicy
SecureContextType
SetDownloadBehaviorCommandBehavior
SetTouchEmulationEnabledCommandConfiguration
SetWebLifecycleStateCommandState
StartScreencastCommandFormat
TransitionType