PageClient Events |
The PageClient type exposes the following members.
Name | Description | |
---|---|---|
BackForwardCacheNotUsed |
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.
| |
CompilationCacheProduced |
Issued for every compilation cache generated. Is only available
if Page.setGenerateCompilationCache is enabled.
| |
DocumentOpened |
Fired when opening document to write to.
| |
DomContentEventFired |
DomContentEventFired
| |
FileChooserOpened |
Emitted only when `page.interceptFileChooser` is enabled.
| |
FrameAttached |
Fired when frame has been attached to its parent.
| |
FrameDetached |
Fired when frame has been detached from its parent.
| |
FrameNavigated |
Fired once navigation of the frame has completed. Frame is now associated with the new loader.
| |
FrameRequestedNavigation |
Fired when a renderer-initiated navigation is requested.
Navigation may still be cancelled after the event is issued.
| |
FrameResized |
FrameResized
| |
FrameStartedLoading |
Fired when frame has started loading.
| |
FrameStoppedLoading |
Fired when frame has stopped loading.
| |
InterstitialHidden |
Fired when interstitial page was hidden
| |
InterstitialShown |
Fired when interstitial page was shown
| |
JavascriptDialogClosed |
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
closed.
| |
JavascriptDialogOpening |
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to
open.
| |
LifecycleEvent |
Fired for top level page lifecycle events such as navigation, load, paint, etc.
| |
LoadEventFired |
LoadEventFired
| |
NavigatedWithinDocument |
Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
| |
PrefetchStatusUpdated |
TODO(crbug/1384419): Create a dedicated domain for preloading.
Fired when a prefetch attempt is updated.
| |
PrerenderAttemptCompleted |
Fired when a prerender attempt is completed.
| |
PrerenderStatusUpdated |
TODO(crbug/1384419): Create a dedicated domain for preloading.
Fired when a prerender attempt is updated.
| |
ScreencastFrame |
Compressed image data requested by the `startScreencast`.
| |
ScreencastVisibilityChanged |
Fired when the page with currently enabled screencast was shown or hidden `.
| |
WindowOpen |
Fired when a new window is going to be opened, via window.open(), link click, form submission,
etc.
|