Click or drag to resize

PageClient Events

Version 92.0.260

The PageClient type exposes the following members.

Events
  NameDescription
Public eventBackForwardCacheNotUsed
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.
Public eventCompilationCacheProduced
Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled.
Public eventDocumentOpened
Fired when opening document to write to.
Public eventDomContentEventFired
DomContentEventFired
Public eventFileChooserOpened
Emitted only when `page.interceptFileChooser` is enabled.
Public eventFrameAttached
Fired when frame has been attached to its parent.
Public eventFrameDetached
Fired when frame has been detached from its parent.
Public eventFrameNavigated
Fired once navigation of the frame has completed. Frame is now associated with the new loader.
Public eventFrameRequestedNavigation
Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.
Public eventFrameResized
FrameResized
Public eventFrameStartedLoading
Fired when frame has started loading.
Public eventFrameStoppedLoading
Fired when frame has stopped loading.
Public eventInterstitialHidden
Fired when interstitial page was hidden
Public eventInterstitialShown
Fired when interstitial page was shown
Public eventJavascriptDialogClosed
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.
Public eventJavascriptDialogOpening
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.
Public eventLifecycleEvent
Fired for top level page lifecycle events such as navigation, load, paint, etc.
Public eventLoadEventFired
LoadEventFired
Public eventNavigatedWithinDocument
Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
Public eventScreencastFrame
Compressed image data requested by the `startScreencast`.
Public eventScreencastVisibilityChanged
Fired when the page with currently enabled screencast was shown or hidden `.
Public eventWindowOpen
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.
Top
See Also