Class PageDomainEvent
Provides static event descriptors for the IPage.
public static class PageDomainEvent
- Inheritance
-
PageDomainEvent
- Inherited Members
Properties
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.
public static EventDescriptor<CdpEventArgs<BackForwardCacheNotUsedEventArgs>> BackForwardCacheNotUsed { get; }
Property Value
- EventDescriptor<CdpEventArgs<BackForwardCacheNotUsedEventArgs>>
CompilationCacheProduced
Issued for every compilation cache generated.
public static EventDescriptor<CdpEventArgs<CompilationCacheProducedEventArgs>> CompilationCacheProduced { get; }
Property Value
- EventDescriptor<CdpEventArgs<CompilationCacheProducedEventArgs>>
DocumentOpened
Fired when opening document to write to.
public static EventDescriptor<CdpEventArgs<DocumentOpenedEventArgs>> DocumentOpened { get; }
Property Value
- EventDescriptor<CdpEventArgs<DocumentOpenedEventArgs>>
DomContentEventFired
public static EventDescriptor<CdpEventArgs<DomContentEventFiredEventArgs>> DomContentEventFired { get; }
Property Value
- EventDescriptor<CdpEventArgs<DomContentEventFiredEventArgs>>
DownloadProgress
Fired when download makes progress. Last call has |done| == true. Deprecated. Use Browser.downloadProgress instead.
public static EventDescriptor<CdpEventArgs<DownloadProgressEventArgs>> DownloadProgress { get; }
Property Value
- EventDescriptor<CdpEventArgs<DownloadProgressEventArgs>>
DownloadWillBegin
Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.
public static EventDescriptor<CdpEventArgs<DownloadWillBeginEventArgs>> DownloadWillBegin { get; }
Property Value
- EventDescriptor<CdpEventArgs<DownloadWillBeginEventArgs>>
FileChooserOpened
Emitted only when page.interceptFileChooser is enabled.
public static EventDescriptor<CdpEventArgs<FileChooserOpenedEventArgs>> FileChooserOpened { get; }
Property Value
- EventDescriptor<CdpEventArgs<FileChooserOpenedEventArgs>>
FrameAttached
Fired when frame has been attached to its parent.
public static EventDescriptor<CdpEventArgs<FrameAttachedEventArgs>> FrameAttached { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameAttachedEventArgs>>
FrameClearedScheduledNavigation
Fired when frame no longer has a scheduled navigation.
public static EventDescriptor<CdpEventArgs<FrameClearedScheduledNavigationEventArgs>> FrameClearedScheduledNavigation { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameClearedScheduledNavigationEventArgs>>
FrameDetached
Fired when frame has been detached from its parent.
public static EventDescriptor<CdpEventArgs<FrameDetachedEventArgs>> FrameDetached { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameDetachedEventArgs>>
FrameNavigated
Fired once navigation of the frame has completed. Frame is now associated with the new loader.
public static EventDescriptor<CdpEventArgs<FrameNavigatedEventArgs>> FrameNavigated { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameNavigatedEventArgs>>
FrameRequestedNavigation
Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.
public static EventDescriptor<CdpEventArgs<FrameRequestedNavigationEventArgs>> FrameRequestedNavigation { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameRequestedNavigationEventArgs>>
FrameResized
public static EventDescriptor<CdpEventArgs<FrameResizedEventArgs>> FrameResized { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameResizedEventArgs>>
FrameScheduledNavigation
Fired when frame schedules a potential navigation.
public static EventDescriptor<CdpEventArgs<FrameScheduledNavigationEventArgs>> FrameScheduledNavigation { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameScheduledNavigationEventArgs>>
FrameStartedLoading
Fired when frame has started loading.
public static EventDescriptor<CdpEventArgs<FrameStartedLoadingEventArgs>> FrameStartedLoading { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameStartedLoadingEventArgs>>
FrameStartedNavigating
Fired when a navigation starts. This event is fired for both renderer-initiated and browser-initiated navigations. For renderer-initiated navigations, the event is fired after frameRequestedNavigation. Navigation may still be cancelled after the event is issued. Multiple events can be fired for a single navigation, for example, when a same-document navigation becomes a cross-document navigation (such as in the case of a frameset).
public static EventDescriptor<CdpEventArgs<FrameStartedNavigatingEventArgs>> FrameStartedNavigating { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameStartedNavigatingEventArgs>>
FrameStoppedLoading
Fired when frame has stopped loading.
public static EventDescriptor<CdpEventArgs<FrameStoppedLoadingEventArgs>> FrameStoppedLoading { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameStoppedLoadingEventArgs>>
FrameSubtreeWillBeDetached
Fired before frame subtree is detached. Emitted before any frame of the subtree is actually detached.
public static EventDescriptor<CdpEventArgs<FrameSubtreeWillBeDetachedEventArgs>> FrameSubtreeWillBeDetached { get; }
Property Value
- EventDescriptor<CdpEventArgs<FrameSubtreeWillBeDetachedEventArgs>>
InterstitialHidden
Fired when interstitial page was hidden
public static EventDescriptor<CdpEventArgs<InterstitialHiddenEventArgs>> InterstitialHidden { get; }
Property Value
- EventDescriptor<CdpEventArgs<InterstitialHiddenEventArgs>>
InterstitialShown
Fired when interstitial page was shown
public static EventDescriptor<CdpEventArgs<InterstitialShownEventArgs>> InterstitialShown { get; }
Property Value
- EventDescriptor<CdpEventArgs<InterstitialShownEventArgs>>
JavascriptDialogClosed
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.
public static EventDescriptor<CdpEventArgs<JavascriptDialogClosedEventArgs>> JavascriptDialogClosed { get; }
Property Value
- EventDescriptor<CdpEventArgs<JavascriptDialogClosedEventArgs>>
JavascriptDialogOpening
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.
public static EventDescriptor<CdpEventArgs<JavascriptDialogOpeningEventArgs>> JavascriptDialogOpening { get; }
Property Value
- EventDescriptor<CdpEventArgs<JavascriptDialogOpeningEventArgs>>
LifecycleEvent
Fired for lifecycle events (navigation, load, paint, etc) in the current target (including local frames).
public static EventDescriptor<CdpEventArgs<LifecycleEventEventArgs>> LifecycleEvent { get; }
Property Value
- EventDescriptor<CdpEventArgs<LifecycleEventEventArgs>>
LoadEventFired
public static EventDescriptor<CdpEventArgs<LoadEventFiredEventArgs>> LoadEventFired { get; }
Property Value
- EventDescriptor<CdpEventArgs<LoadEventFiredEventArgs>>
NavigatedWithinDocument
Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
public static EventDescriptor<CdpEventArgs<NavigatedWithinDocumentEventArgs>> NavigatedWithinDocument { get; }
Property Value
- EventDescriptor<CdpEventArgs<NavigatedWithinDocumentEventArgs>>
ScreencastFrame
Compressed image data requested by the startScreencast.
public static EventDescriptor<CdpEventArgs<ScreencastFrameEventArgs>> ScreencastFrame { get; }
Property Value
- EventDescriptor<CdpEventArgs<ScreencastFrameEventArgs>>
ScreencastVisibilityChanged
Fired when the page with currently enabled screencast was shown or hidden `.
public static EventDescriptor<CdpEventArgs<ScreencastVisibilityChangedEventArgs>> ScreencastVisibilityChanged { get; }
Property Value
- EventDescriptor<CdpEventArgs<ScreencastVisibilityChangedEventArgs>>
WindowOpen
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.
public static EventDescriptor<CdpEventArgs<WindowOpenEventArgs>> WindowOpen { get; }
Property Value
- EventDescriptor<CdpEventArgs<WindowOpenEventArgs>>