Module chrome_remote_interface_model::page [−][src]
Page
and Debugger
and DOM
and IO
and Network
and Runtime
only.Expand description
Actions and events related to the inspected page belong to the page domain.
Structs
experimental
Seeds compilation cache for given url. Compilation cache does not survive cross-process navigation.
experimental
Seeds compilation cache for given url. Compilation cache does not survive cross-process navigation.
Deprecated, please use addScriptToEvaluateOnNewDocument instead.
Deprecated, please use addScriptToEvaluateOnNewDocument instead.
Evaluates given script in every frame upon creation (before loading frame’s scripts).
Evaluates given script in every frame upon creation (before loading frame’s scripts).
Error while paring app manifest.
experimental
Parsed app manifest properties.
Brings page to front (activates tab).
Brings page to front (activates tab).
Capture page screenshot.
Capture page screenshot.
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.
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.
experimental
Clears seeded compilation cache.
experimental
Clears seeded compilation cache.
Clears the overriden device metrics.
Clears the overriden device metrics.
Clears the overridden Device Orientation.
Clears the overridden Device Orientation.
Clears the overriden Geolocation Position and Error.
Clears the overriden Geolocation Position and Error.
experimental
Tries to close page, running its beforeunload hooks, if any.
experimental
Tries to close page, running its beforeunload hooks, if any.
experimental
Per-script compilation cache parameters for Page.produceCompilationCache
experimental
Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled.
experimental
Crashes renderer on the IO thread, generates minidumps.
experimental
Crashes renderer on the IO thread, generates minidumps.
Creates an isolated world for the given frame.
Creates an isolated world for the given frame.
Deletes browser cookie with given name, domain and path.
Deletes browser cookie with given name, domain and path.
Disables page domain notifications.
Disables page domain notifications.
experimental
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.
Enables page domain notifications.
Enables page domain notifications.
Emitted only when page.interceptFileChooser
is enabled.
experimental
Generic font families collection.
experimental
experimental
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.
Unique frame identifier.
Fired once navigation of the frame has completed. Frame is now associated with the new loader.
experimental
Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.
experimental
experimental
experimental
Information about the Resource on the page.
experimental
experimental
Information about the Frame hierarchy along with their cached resources.
Fired when frame schedules a potential navigation.
experimental
Fired when frame has started loading.
experimental
Fired when frame has stopped loading.
Information about the Frame hierarchy.
experimental
Generates a report for testing.
experimental
Generates a report for testing.
Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the cookies
field.
Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the cookies
field.
Returns present frame tree structure.
Returns present frame tree structure.
experimental
experimental
Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
experimental
experimental
Returns navigation history for the current page.
Returns navigation history for the current page.
experimental
Get Permissions Policy state on given frame.
experimental
Get Permissions Policy state on given frame.
experimental
Returns content of the given resource.
experimental
Returns content of the given resource.
experimental
Returns present frame / resource tree structure.
experimental
Returns present frame / resource tree structure.
Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
experimental
The installability error
experimental
Fired when interstitial page was hidden
Fired when interstitial page was shown
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.
Navigates current page to the given URL.
Navigates current page to the given URL.
Navigates current page to the given history entry.
Navigates current page to the given history entry.
experimental
Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
Navigation history entry.
experimental
experimental
Print page as PDF.
Print page as PDF.
experimental
Requests backend to produce compilation cache for the specified scripts.
Unlike setProduceCompilationCache, this allows client to only produce cache
for specific scripts. scripts
are appeneded to the list of scripts
for which the cache for would produced. Disabling compilation cache with
setProduceCompilationCache
would reset all pending cache requests.
The list may also be reset during page navigation.
When script with a matching URL is encountered, the cache is optionally
produced upon backend discretion, based on internal heuristics.
See also: Page.compilationCacheProduced
.
experimental
Requests backend to produce compilation cache for the specified scripts.
Unlike setProduceCompilationCache, this allows client to only produce cache
for specific scripts. scripts
are appeneded to the list of scripts
for which the cache for would produced. Disabling compilation cache with
setProduceCompilationCache
would reset all pending cache requests.
The list may also be reset during page navigation.
When script with a matching URL is encountered, the cache is optionally
produced upon backend discretion, based on internal heuristics.
See also: Page.compilationCacheProduced
.
Reloads given page optionally ignoring the cache.
Reloads given page optionally ignoring the cache.
Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
Removes given script from the list.
Removes given script from the list.
Resets navigation history for the current page.
Resets navigation history for the current page.
experimental
Acknowledges that a screencast frame has been received by the frontend.
experimental
Acknowledges that a screencast frame has been received by the frontend.
experimental
Compressed image data requested by the startScreencast
.
experimental
Screencast frame metadata.
experimental
experimental
Fired when the page with currently enabled screencast was shown or hidden `.
Unique script identifier.
experimental
Searches for given string in resource content.
experimental
experimental
Searches for given string in resource content.
experimental
Enable Chrome’s experimental ad filter on all sites.
experimental
Enable Chrome’s experimental ad filter on all sites.
experimental
Enable page Content Security Policy by-passing.
experimental
Enable page Content Security Policy by-passing.
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).
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).
Overrides the Device Orientation.
Overrides the Device Orientation.
Sets given markup as the document’s HTML.
Sets given markup as the document’s HTML.
Set the behavior when downloading a file.
Set the behavior when downloading a file.
experimental
Set generic font families.
experimental
Set generic font families.
experimental
Set default font sizes.
experimental
Set default font sizes.
Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.
Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.
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 Page.fileChooserOpened
is emitted.
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 Page.fileChooserOpened
is emitted.
experimental
Controls whether page will emit lifecycle events.
experimental
Controls whether page will emit lifecycle events.
experimental
Forces compilation cache to be generated for every subresource script.
See also: Page.produceCompilationCache
.
experimental
Forces compilation cache to be generated for every subresource script.
See also: Page.produceCompilationCache
.
Toggles mouse event-based touch event emulation.
Toggles mouse event-based touch event emulation.
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/
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/
experimental
Starts sending each frame using the screencastFrame
event.
experimental
experimental
Starts sending each frame using the screencastFrame
event.
Force the page stop all navigations and pending resource fetches.
Force the page stop all navigations and pending resource fetches.
experimental
Stops sending each frame in the screencastFrame
.
experimental
Stops sending each frame in the screencastFrame
.
Viewport for capturing screenshot.
Visual viewport position, dimensions, and scale.
experimental
Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.
experimental
Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.
Enums
experimental
experimental
experimental
experimental
experimental
experimental
experimental
experimental
experimental