Module chrome_remote_interface_model::page [−][src]
Page
and Debugger
and DOM
and IO
and Network
and Runtime
only.Actions and events related to the inspected page belong to the page domain.
Structs
AddCompilationCacheCommand | experimental Seeds compilation cache for given url. Compilation cache does not survive cross-process navigation. |
AddCompilationCacheReturn | experimental Seeds compilation cache for given url. Compilation cache does not survive cross-process navigation. |
AddScriptToEvaluateOnLoadCommand | Deprecatedexperimental Deprecated, please use addScriptToEvaluateOnNewDocument instead. |
AddScriptToEvaluateOnLoadReturn | Deprecatedexperimental 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 | experimental 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 | experimental 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 | experimental 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 | experimental Clears seeded compilation cache. |
ClearCompilationCacheReturn | experimental Clears seeded compilation cache. |
ClearDeviceMetricsOverrideCommand | Deprecatedexperimental Clears the overriden device metrics. |
ClearDeviceMetricsOverrideReturn | Deprecatedexperimental Clears the overriden device metrics. |
ClearDeviceOrientationOverrideCommand | Deprecatedexperimental Clears the overridden Device Orientation. |
ClearDeviceOrientationOverrideReturn | Deprecatedexperimental Clears the overridden Device Orientation. |
ClearGeolocationOverrideCommand | Deprecated Clears the overriden Geolocation Position and Error. |
ClearGeolocationOverrideReturn | Deprecated Clears the overriden Geolocation Position and Error. |
CloseCommand | experimental Tries to close page, running its beforeunload hooks, if any. |
CloseReturn | experimental Tries to close page, running its beforeunload hooks, if any. |
CompilationCacheProducedEvent | experimental Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled. |
CrashCommand | experimental Crashes renderer on the IO thread, generates minidumps. |
CrashReturn | experimental 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. |
DeleteCookieCommand | Deprecatedexperimental Deletes browser cookie with given name, domain and path. |
DeleteCookieReturn | Deprecatedexperimental Deletes browser cookie with given name, domain and path. |
DisableCommand | Disables page domain notifications. |
DisableReturn | Disables page domain notifications. |
DomContentEventFiredEvent | |
DownloadProgressEvent | experimental Fired when download makes progress. Last call has |done| == true. |
DownloadProgressEventBuilder | experimental |
DownloadWillBeginEvent | experimental Fired when page is about to start a download. |
DownloadWillBeginEventBuilder | experimental |
EnableCommand | Enables page domain notifications. |
EnableReturn | Enables page domain notifications. |
FileChooserOpenedEvent | Emitted only when |
FontFamilies | experimental Generic font families collection. |
FontFamiliesBuilder | experimental |
FontSizes | experimental Default font sizes. |
Frame | Information about the Frame on the page. |
FrameAttachedEvent | Fired when frame has been attached to its parent. |
FrameBuilder | |
FrameClearedScheduledNavigationEvent | Deprecated 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 | experimental Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued. |
FrameRequestedNavigationEventBuilder | experimental |
FrameResizedEvent | experimental |
FrameResource | experimental Information about the Resource on the page. |
FrameResourceBuilder | experimental |
FrameResourceTree | experimental Information about the Frame hierarchy along with their cached resources. |
FrameScheduledNavigationEvent | Deprecated Fired when frame schedules a potential navigation. |
FrameScheduledNavigationEventBuilder | Deprecated |
FrameStartedLoadingEvent | experimental Fired when frame has started loading. |
FrameStoppedLoadingEvent | experimental Fired when frame has stopped loading. |
FrameTree | Information about the Frame hierarchy. |
GenerateTestReportCommand | experimental Generates a report for testing. |
GenerateTestReportReturn | experimental Generates a report for testing. |
GetAppManifestCommand | |
GetAppManifestReturn | |
GetAppManifestReturnBuilder | |
GetCookiesCommand | Deprecatedexperimental Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the |
GetCookiesReturn | Deprecatedexperimental Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the |
GetFrameTreeCommand | Returns present frame tree structure. |
GetFrameTreeReturn | Returns present frame tree structure. |
GetInstallabilityErrorsCommand | experimental |
GetInstallabilityErrorsReturn | experimental |
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 | experimental |
GetManifestIconsReturn | experimental |
GetNavigationHistoryCommand | Returns navigation history for the current page. |
GetNavigationHistoryReturn | Returns navigation history for the current page. |
GetResourceContentCommand | experimental Returns content of the given resource. |
GetResourceContentReturn | experimental Returns content of the given resource. |
GetResourceTreeCommand | experimental Returns present frame / resource tree structure. |
GetResourceTreeReturn | experimental 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 | experimental The installability error |
InstallabilityErrorArgument | experimental |
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 | experimental 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. |
RemoveScriptToEvaluateOnLoadCommand | Deprecatedexperimental Deprecated, please use removeScriptToEvaluateOnNewDocument instead. |
RemoveScriptToEvaluateOnLoadReturn | Deprecatedexperimental 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 | experimental Acknowledges that a screencast frame has been received by the frontend. |
ScreencastFrameAckReturn | experimental Acknowledges that a screencast frame has been received by the frontend. |
ScreencastFrameEvent | experimental Compressed image data requested by the |
ScreencastFrameMetadata | experimental Screencast frame metadata. |
ScreencastFrameMetadataBuilder | experimental |
ScreencastVisibilityChangedEvent | experimental Fired when the page with currently enabled screencast was shown or hidden `. |
ScriptIdentifier | Unique script identifier. |
SearchInResourceCommand | experimental Searches for given string in resource content. |
SearchInResourceCommandBuilder | experimental |
SearchInResourceReturn | experimental Searches for given string in resource content. |
SetAdBlockingEnabledCommand | experimental Enable Chrome's experimental ad filter on all sites. |
SetAdBlockingEnabledReturn | experimental Enable Chrome's experimental ad filter on all sites. |
SetBypassCspCommand | experimental Enable page Content Security Policy by-passing. |
SetBypassCspReturn | experimental Enable page Content Security Policy by-passing. |
SetDeviceMetricsOverrideCommand | Deprecatedexperimental 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). |
SetDeviceMetricsOverrideCommandBuilder | Deprecatedexperimental |
SetDeviceMetricsOverrideReturn | Deprecatedexperimental 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). |
SetDeviceOrientationOverrideCommand | Deprecatedexperimental Overrides the Device Orientation. |
SetDeviceOrientationOverrideReturn | Deprecatedexperimental Overrides the Device Orientation. |
SetDocumentContentCommand | Sets given markup as the document's HTML. |
SetDocumentContentReturn | Sets given markup as the document's HTML. |
SetDownloadBehaviorCommand | Deprecatedexperimental Set the behavior when downloading a file. |
SetDownloadBehaviorReturn | Deprecatedexperimental Set the behavior when downloading a file. |
SetFontFamiliesCommand | experimental Set generic font families. |
SetFontFamiliesReturn | experimental Set generic font families. |
SetFontSizesCommand | experimental Set default font sizes. |
SetFontSizesReturn | experimental Set default font sizes. |
SetGeolocationOverrideCommand | Deprecated Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable. |
SetGeolocationOverrideReturn | Deprecated Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable. |
SetInterceptFileChooserDialogCommand | experimental 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 |
SetInterceptFileChooserDialogReturn | experimental 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 |
SetLifecycleEventsEnabledCommand | experimental Controls whether page will emit lifecycle events. |
SetLifecycleEventsEnabledReturn | experimental Controls whether page will emit lifecycle events. |
SetProduceCompilationCacheCommand | experimental Forces compilation cache to be generated for every subresource script. |
SetProduceCompilationCacheReturn | experimental Forces compilation cache to be generated for every subresource script. |
SetTouchEmulationEnabledCommand | Deprecatedexperimental Toggles mouse event-based touch event emulation. |
SetTouchEmulationEnabledReturn | Deprecatedexperimental Toggles mouse event-based touch event emulation. |
SetWebLifecycleStateCommand | experimental 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 | experimental 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 | experimental Starts sending each frame using the |
StartScreencastCommandBuilder | experimental |
StartScreencastReturn | experimental Starts sending each frame using the |
StopLoadingCommand | Force the page stop all navigations and pending resource fetches. |
StopLoadingReturn | Force the page stop all navigations and pending resource fetches. |
StopScreencastCommand | experimental Stops sending each frame in the |
StopScreencastReturn | experimental Stops sending each frame in the |
Viewport | Viewport for capturing screenshot. |
ViewportBuilder | |
VisualViewport | Visual viewport position, dimensions, and scale. |
VisualViewportBuilder | |
WaitForDebuggerCommand | experimental Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger. |
WaitForDebuggerReturn | experimental 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 |