Enum Event

Source
pub enum Event {
Show 163 variants AnimationAnimationCanceled(AnimationCanceledEvent), AnimationAnimationCreated(AnimationCreatedEvent), AnimationAnimationStarted(AnimationStartedEvent), ApplicationCacheApplicationCacheStatusUpdated(ApplicationCacheStatusUpdatedEvent), ApplicationCacheNetworkStateUpdated(NetworkStateUpdatedEvent), AuditsIssueAdded(IssueAddedEvent), BackgroundServiceRecordingStateChanged(RecordingStateChangedEvent), BackgroundServiceBackgroundServiceEventReceived(BackgroundServiceEventReceivedEvent), BrowserDownloadWillBegin(DownloadWillBeginEvent), BrowserDownloadProgress(DownloadProgressEvent), CssFontsUpdated(FontsUpdatedEvent), CssMediaQueryResultChanged(MediaQueryResultChangedEvent), CssStyleSheetAdded(StyleSheetAddedEvent), CssStyleSheetChanged(StyleSheetChangedEvent), CssStyleSheetRemoved(StyleSheetRemovedEvent), CastSinksUpdated(SinksUpdatedEvent), CastIssueUpdated(IssueUpdatedEvent), DomAttributeModified(AttributeModifiedEvent), DomAttributeRemoved(AttributeRemovedEvent), DomCharacterDataModified(CharacterDataModifiedEvent), DomChildNodeCountUpdated(ChildNodeCountUpdatedEvent), DomChildNodeInserted(ChildNodeInsertedEvent), DomChildNodeRemoved(ChildNodeRemovedEvent), DomDistributedNodesUpdated(DistributedNodesUpdatedEvent), DomDocumentUpdated(DocumentUpdatedEvent), DomInlineStyleInvalidated(InlineStyleInvalidatedEvent), DomPseudoElementAdded(PseudoElementAddedEvent), DomPseudoElementRemoved(PseudoElementRemovedEvent), DomSetChildNodes(SetChildNodesEvent), DomShadowRootPopped(ShadowRootPoppedEvent), DomShadowRootPushed(ShadowRootPushedEvent), DomStorageDomStorageItemAdded(DomStorageItemAddedEvent), DomStorageDomStorageItemRemoved(DomStorageItemRemovedEvent), DomStorageDomStorageItemUpdated(DomStorageItemUpdatedEvent), DomStorageDomStorageItemsCleared(DomStorageItemsClearedEvent), DatabaseAddDatabase(AddDatabaseEvent), EmulationVirtualTimeBudgetExpired(VirtualTimeBudgetExpiredEvent), HeadlessExperimentalNeedsBeginFramesChanged(NeedsBeginFramesChangedEvent), InputDragIntercepted(DragInterceptedEvent), InspectorDetached(DetachedEvent), InspectorTargetCrashed(TargetCrashedEvent), InspectorTargetReloadedAfterCrash(TargetReloadedAfterCrashEvent), LayerTreeLayerPainted(LayerPaintedEvent), LayerTreeLayerTreeDidChange(LayerTreeDidChangeEvent), LogEntryAdded(EntryAddedEvent), NetworkDataReceived(DataReceivedEvent), NetworkEventSourceMessageReceived(EventSourceMessageReceivedEvent), NetworkLoadingFailed(LoadingFailedEvent), NetworkLoadingFinished(LoadingFinishedEvent), NetworkRequestIntercepted(RequestInterceptedEvent), NetworkRequestServedFromCache(RequestServedFromCacheEvent), NetworkRequestWillBeSent(RequestWillBeSentEvent), NetworkResourceChangedPriority(ResourceChangedPriorityEvent), NetworkSignedExchangeReceived(SignedExchangeReceivedEvent), NetworkResponseReceived(ResponseReceivedEvent), NetworkWebSocketClosed(WebSocketClosedEvent), NetworkWebSocketCreated(WebSocketCreatedEvent), NetworkWebSocketFrameError(WebSocketFrameErrorEvent), NetworkWebSocketFrameReceived(WebSocketFrameReceivedEvent), NetworkWebSocketFrameSent(WebSocketFrameSentEvent), NetworkWebSocketHandshakeResponseReceived(WebSocketHandshakeResponseReceivedEvent), NetworkWebSocketWillSendHandshakeRequest(WebSocketWillSendHandshakeRequestEvent), NetworkWebTransportCreated(WebTransportCreatedEvent), NetworkWebTransportConnectionEstablished(WebTransportConnectionEstablishedEvent), NetworkWebTransportClosed(WebTransportClosedEvent), NetworkRequestWillBeSentExtraInfo(RequestWillBeSentExtraInfoEvent), NetworkResponseReceivedExtraInfo(ResponseReceivedExtraInfoEvent), NetworkTrustTokenOperationDone(TrustTokenOperationDoneEvent), OverlayInspectNodeRequested(InspectNodeRequestedEvent), OverlayNodeHighlightRequested(NodeHighlightRequestedEvent), OverlayScreenshotRequested(ScreenshotRequestedEvent), OverlayInspectModeCanceled(InspectModeCanceledEvent), PageDomContentEventFired(DomContentEventFiredEvent), PageFileChooserOpened(FileChooserOpenedEvent), PageFrameAttached(FrameAttachedEvent), PageFrameClearedScheduledNavigation(FrameClearedScheduledNavigationEvent), PageFrameDetached(FrameDetachedEvent), PageFrameNavigated(FrameNavigatedEvent), PageDocumentOpened(DocumentOpenedEvent), PageFrameResized(FrameResizedEvent), PageFrameRequestedNavigation(FrameRequestedNavigationEvent), PageFrameScheduledNavigation(FrameScheduledNavigationEvent), PageFrameStartedLoading(FrameStartedLoadingEvent), PageFrameStoppedLoading(FrameStoppedLoadingEvent), PageDownloadWillBegin(DownloadWillBeginEvent), PageDownloadProgress(DownloadProgressEvent), PageInterstitialHidden(InterstitialHiddenEvent), PageInterstitialShown(InterstitialShownEvent), PageJavascriptDialogClosed(JavascriptDialogClosedEvent), PageJavascriptDialogOpening(JavascriptDialogOpeningEvent), PageLifecycleEvent(LifecycleEventEvent), PageLoadEventFired(LoadEventFiredEvent), PageNavigatedWithinDocument(NavigatedWithinDocumentEvent), PageScreencastFrame(ScreencastFrameEvent), PageScreencastVisibilityChanged(ScreencastVisibilityChangedEvent), PageWindowOpen(WindowOpenEvent), PageCompilationCacheProduced(CompilationCacheProducedEvent), PerformanceMetrics(MetricsEvent), PerformanceTimelineTimelineEventAdded(TimelineEventAddedEvent), SecurityCertificateError(CertificateErrorEvent), SecurityVisibleSecurityStateChanged(VisibleSecurityStateChangedEvent), SecuritySecurityStateChanged(SecurityStateChangedEvent), ServiceWorkerWorkerErrorReported(WorkerErrorReportedEvent), ServiceWorkerWorkerRegistrationUpdated(WorkerRegistrationUpdatedEvent), ServiceWorkerWorkerVersionUpdated(WorkerVersionUpdatedEvent), StorageCacheStorageContentUpdated(CacheStorageContentUpdatedEvent), StorageCacheStorageListUpdated(CacheStorageListUpdatedEvent), StorageIndexedDbContentUpdated(IndexedDbContentUpdatedEvent), StorageIndexedDbListUpdated(IndexedDbListUpdatedEvent), TargetAttachedToTarget(AttachedToTargetEvent), TargetDetachedFromTarget(DetachedFromTargetEvent), TargetReceivedMessageFromTarget(ReceivedMessageFromTargetEvent), TargetTargetCreated(TargetCreatedEvent), TargetTargetDestroyed(TargetDestroyedEvent), TargetTargetCrashed(TargetCrashedEvent), TargetTargetInfoChanged(TargetInfoChangedEvent), TetheringAccepted(AcceptedEvent), TracingBufferUsage(BufferUsageEvent), TracingDataCollected(DataCollectedEvent), TracingTracingComplete(TracingCompleteEvent), FetchRequestPaused(RequestPausedEvent), FetchAuthRequired(AuthRequiredEvent), WebAudioContextCreated(ContextCreatedEvent), WebAudioContextWillBeDestroyed(ContextWillBeDestroyedEvent), WebAudioContextChanged(ContextChangedEvent), WebAudioAudioListenerCreated(AudioListenerCreatedEvent), WebAudioAudioListenerWillBeDestroyed(AudioListenerWillBeDestroyedEvent), WebAudioAudioNodeCreated(AudioNodeCreatedEvent), WebAudioAudioNodeWillBeDestroyed(AudioNodeWillBeDestroyedEvent), WebAudioAudioParamCreated(AudioParamCreatedEvent), WebAudioAudioParamWillBeDestroyed(AudioParamWillBeDestroyedEvent), WebAudioNodesConnected(NodesConnectedEvent), WebAudioNodesDisconnected(NodesDisconnectedEvent), WebAudioNodeParamConnected(NodeParamConnectedEvent), WebAudioNodeParamDisconnected(NodeParamDisconnectedEvent), MediaPlayerPropertiesChanged(PlayerPropertiesChangedEvent), MediaPlayerEventsAdded(PlayerEventsAddedEvent), MediaPlayerMessagesLogged(PlayerMessagesLoggedEvent), MediaPlayerErrorsRaised(PlayerErrorsRaisedEvent), MediaPlayersCreated(PlayersCreatedEvent), ConsoleMessageAdded(MessageAddedEvent), DebuggerBreakpointResolved(BreakpointResolvedEvent), DebuggerPaused(PausedEvent), DebuggerResumed(ResumedEvent), DebuggerScriptFailedToParse(ScriptFailedToParseEvent), DebuggerScriptParsed(ScriptParsedEvent), HeapProfilerAddHeapSnapshotChunk(AddHeapSnapshotChunkEvent), HeapProfilerHeapStatsUpdate(HeapStatsUpdateEvent), HeapProfilerLastSeenObjectId(LastSeenObjectIdEvent), HeapProfilerReportHeapSnapshotProgress(ReportHeapSnapshotProgressEvent), HeapProfilerResetProfiles(ResetProfilesEvent), ProfilerConsoleProfileFinished(ConsoleProfileFinishedEvent), ProfilerConsoleProfileStarted(ConsoleProfileStartedEvent), ProfilerPreciseCoverageDeltaUpdate(PreciseCoverageDeltaUpdateEvent), RuntimeBindingCalled(BindingCalledEvent), RuntimeConsoleApiCalled(ConsoleApiCalledEvent), RuntimeExceptionRevoked(ExceptionRevokedEvent), RuntimeExceptionThrown(ExceptionThrownEvent), RuntimeExecutionContextCreated(ExecutionContextCreatedEvent), RuntimeExecutionContextDestroyed(ExecutionContextDestroyedEvent), RuntimeExecutionContextsCleared(ExecutionContextsClearedEvent), RuntimeInspectRequested(InspectRequestedEvent), Unknown(String, Value),
}
Expand description

Chrome DevTools Protocol event.

Variants§

§

AnimationAnimationCanceled(AnimationCanceledEvent)

Available on crate features experimental and Animation and Runtime and DOM only.

Event for when an animation has been cancelled.

§

AnimationAnimationCreated(AnimationCreatedEvent)

Available on crate features experimental and Animation and Runtime and DOM only.

Event for each animation that has been created.

§

AnimationAnimationStarted(AnimationStartedEvent)

Available on crate features experimental and Animation and Runtime and DOM only.

Event for animation that has been started.

§

ApplicationCacheApplicationCacheStatusUpdated(ApplicationCacheStatusUpdatedEvent)

Available on crate features experimental and ApplicationCache and Page only.
§

ApplicationCacheNetworkStateUpdated(NetworkStateUpdatedEvent)

Available on crate features experimental and ApplicationCache and Page only.
§

AuditsIssueAdded(IssueAddedEvent)

Available on crate features experimental and Audits and Network only.
§

BackgroundServiceRecordingStateChanged(RecordingStateChangedEvent)

Available on crate features experimental and BackgroundService only.

Called when the recording state for the service has been updated.

§

BackgroundServiceBackgroundServiceEventReceived(BackgroundServiceEventReceivedEvent)

Available on crate features experimental and BackgroundService only.

Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording.

§

BrowserDownloadWillBegin(DownloadWillBeginEvent)

Available on crate features Browser and experimental only.

Fired when page is about to start a download.

§

BrowserDownloadProgress(DownloadProgressEvent)

Available on crate features Browser and experimental only.

Fired when download makes progress. Last call has |done| == true.

§

CssFontsUpdated(FontsUpdatedEvent)

Available on crate features experimental and CSS and DOM and Page only.

Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font

§

CssMediaQueryResultChanged(MediaQueryResultChangedEvent)

Available on crate features experimental and CSS and DOM and Page only.

Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features.

§

CssStyleSheetAdded(StyleSheetAddedEvent)

Available on crate features experimental and CSS and DOM and Page only.

Fired whenever an active document stylesheet is added.

§

CssStyleSheetChanged(StyleSheetChangedEvent)

Available on crate features experimental and CSS and DOM and Page only.

Fired whenever a stylesheet is changed as a result of the client operation.

§

CssStyleSheetRemoved(StyleSheetRemovedEvent)

Available on crate features experimental and CSS and DOM and Page only.

Fired whenever an active document stylesheet is removed.

§

CastSinksUpdated(SinksUpdatedEvent)

Available on crate features experimental and Cast only.

This is fired whenever the list of available sinks changes. A sink is a device or a software surface that you can cast to.

§

CastIssueUpdated(IssueUpdatedEvent)

Available on crate features experimental and Cast only.

This is fired whenever the outstanding issue/error message changes. |issueMessage| is empty if there is no issue.

§

DomAttributeModified(AttributeModifiedEvent)

Available on crate features DOM and Runtime only.

Fired when Element’s attribute is modified.

§

DomAttributeRemoved(AttributeRemovedEvent)

Available on crate features DOM and Runtime only.

Fired when Element’s attribute is removed.

§

DomCharacterDataModified(CharacterDataModifiedEvent)

Available on crate features DOM and Runtime only.

Mirrors DOMCharacterDataModified event.

§

DomChildNodeCountUpdated(ChildNodeCountUpdatedEvent)

Available on crate features DOM and Runtime only.

Fired when Container’s child node count has changed.

§

DomChildNodeInserted(ChildNodeInsertedEvent)

Available on crate features DOM and Runtime only.

Mirrors DOMNodeInserted event.

§

DomChildNodeRemoved(ChildNodeRemovedEvent)

Available on crate features DOM and Runtime only.

Mirrors DOMNodeRemoved event.

§

DomDistributedNodesUpdated(DistributedNodesUpdatedEvent)

Available on crate features DOM and Runtime and experimental only.

Called when distrubution is changed.

§

DomDocumentUpdated(DocumentUpdatedEvent)

Available on crate features DOM and Runtime only.

Fired when Document has been totally updated. Node ids are no longer valid.

§

DomInlineStyleInvalidated(InlineStyleInvalidatedEvent)

Available on crate features DOM and Runtime and experimental only.

Fired when Element’s inline style is modified via a CSS property modification.

§

DomPseudoElementAdded(PseudoElementAddedEvent)

Available on crate features DOM and Runtime and experimental only.

Called when a pseudo element is added to an element.

§

DomPseudoElementRemoved(PseudoElementRemovedEvent)

Available on crate features DOM and Runtime and experimental only.

Called when a pseudo element is removed from an element.

§

DomSetChildNodes(SetChildNodesEvent)

Available on crate features DOM and Runtime only.

Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.

§

DomShadowRootPopped(ShadowRootPoppedEvent)

Available on crate features DOM and Runtime and experimental only.

Called when shadow root is popped from the element.

§

DomShadowRootPushed(ShadowRootPushedEvent)

Available on crate features DOM and Runtime and experimental only.

Called when shadow root is pushed into the element.

§

DomStorageDomStorageItemAdded(DomStorageItemAddedEvent)

Available on crate features experimental and DOMStorage only.
§

DomStorageDomStorageItemRemoved(DomStorageItemRemovedEvent)

Available on crate features experimental and DOMStorage only.
§

DomStorageDomStorageItemUpdated(DomStorageItemUpdatedEvent)

Available on crate features experimental and DOMStorage only.
§

DomStorageDomStorageItemsCleared(DomStorageItemsClearedEvent)

Available on crate features experimental and DOMStorage only.
§

DatabaseAddDatabase(AddDatabaseEvent)

Available on crate features experimental and Database only.
§

EmulationVirtualTimeBudgetExpired(VirtualTimeBudgetExpiredEvent)

Available on crate features Emulation and DOM and Page and Runtime and experimental only.

Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.

§

HeadlessExperimentalNeedsBeginFramesChanged(NeedsBeginFramesChangedEvent)

👎Deprecated
Available on crate features experimental and HeadlessExperimental and Page and Runtime only.

Issued when the target starts or stops needing BeginFrames. Deprecated. Issue beginFrame unconditionally instead and use result from beginFrame to detect whether the frames were suppressed.

§

InputDragIntercepted(DragInterceptedEvent)

Available on crate features Input and experimental only.

Emitted only when Input.setInterceptDrags is enabled. Use this data with Input.dispatchDragEvent to restore normal drag and drop behavior.

§

InspectorDetached(DetachedEvent)

Available on crate features experimental and Inspector only.

Fired when remote debugging connection is about to be terminated. Contains detach reason.

§

InspectorTargetCrashed(TargetCrashedEvent)

Available on crate features experimental and Inspector only.

Fired when debugging target has crashed

§

InspectorTargetReloadedAfterCrash(TargetReloadedAfterCrashEvent)

Available on crate features experimental and Inspector only.

Fired when debugging target has reloaded after crash

§

LayerTreeLayerPainted(LayerPaintedEvent)

Available on crate features experimental and LayerTree and DOM only.
§

LayerTreeLayerTreeDidChange(LayerTreeDidChangeEvent)

Available on crate features experimental and LayerTree and DOM only.
§

LogEntryAdded(EntryAddedEvent)

Available on crate features Log and Runtime and Network only.

Issued when new message was logged.

§

NetworkDataReceived(DataReceivedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when data chunk was received over the network.

§

NetworkEventSourceMessageReceived(EventSourceMessageReceivedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when EventSource message is received.

§

NetworkLoadingFailed(LoadingFailedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when HTTP request has failed to load.

§

NetworkLoadingFinished(LoadingFinishedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when HTTP request has finished loading.

§

NetworkRequestIntercepted(RequestInterceptedEvent)

👎Deprecated
Available on crate features Network and Debugger and Runtime and Security and experimental only.

Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.

§

NetworkRequestServedFromCache(RequestServedFromCacheEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired if request ended up loading from cache.

§

NetworkRequestWillBeSent(RequestWillBeSentEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when page is about to send HTTP request.

§

NetworkResourceChangedPriority(ResourceChangedPriorityEvent)

Available on crate features Network and Debugger and Runtime and Security and experimental only.

Fired when resource loading priority is changed

§

NetworkSignedExchangeReceived(SignedExchangeReceivedEvent)

Available on crate features Network and Debugger and Runtime and Security and experimental only.

Fired when a signed exchange was received over the network

§

NetworkResponseReceived(ResponseReceivedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when HTTP response is available.

§

NetworkWebSocketClosed(WebSocketClosedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when WebSocket is closed.

§

NetworkWebSocketCreated(WebSocketCreatedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired upon WebSocket creation.

§

NetworkWebSocketFrameError(WebSocketFrameErrorEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when WebSocket message error occurs.

§

NetworkWebSocketFrameReceived(WebSocketFrameReceivedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when WebSocket message is received.

§

NetworkWebSocketFrameSent(WebSocketFrameSentEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when WebSocket message is sent.

§

NetworkWebSocketHandshakeResponseReceived(WebSocketHandshakeResponseReceivedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when WebSocket handshake response becomes available.

§

NetworkWebSocketWillSendHandshakeRequest(WebSocketWillSendHandshakeRequestEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when WebSocket is about to initiate handshake.

§

NetworkWebTransportCreated(WebTransportCreatedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired upon WebTransport creation.

§

NetworkWebTransportConnectionEstablished(WebTransportConnectionEstablishedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when WebTransport handshake is finished.

§

NetworkWebTransportClosed(WebTransportClosedEvent)

Available on crate features Network and Debugger and Runtime and Security only.

Fired when WebTransport is disposed.

§

NetworkRequestWillBeSentExtraInfo(RequestWillBeSentExtraInfoEvent)

Available on crate features Network and Debugger and Runtime and Security and experimental only.

Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.

§

NetworkResponseReceivedExtraInfo(ResponseReceivedExtraInfoEvent)

Available on crate features Network and Debugger and Runtime and Security and experimental only.

Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.

§

NetworkTrustTokenOperationDone(TrustTokenOperationDoneEvent)

Available on crate features Network and Debugger and Runtime and Security and experimental only.

Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.

§

OverlayInspectNodeRequested(InspectNodeRequestedEvent)

Available on crate features experimental and Overlay and DOM and Page and Runtime only.

Fired when the node should be inspected. This happens after call to setInspectMode or when user manually inspects an element.

§

OverlayNodeHighlightRequested(NodeHighlightRequestedEvent)

Available on crate features experimental and Overlay and DOM and Page and Runtime only.

Fired when the node should be highlighted. This happens after call to setInspectMode.

§

OverlayScreenshotRequested(ScreenshotRequestedEvent)

Available on crate features experimental and Overlay and DOM and Page and Runtime only.

Fired when user asks to capture screenshot of some area on the page.

§

OverlayInspectModeCanceled(InspectModeCanceledEvent)

Available on crate features experimental and Overlay and DOM and Page and Runtime only.

Fired when user cancels the inspect mode.

§

PageDomContentEventFired(DomContentEventFiredEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.
§

PageFileChooserOpened(FileChooserOpenedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Emitted only when page.interceptFileChooser is enabled.

§

PageFrameAttached(FrameAttachedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when frame has been attached to its parent.

§

PageFrameClearedScheduledNavigation(FrameClearedScheduledNavigationEvent)

👎Deprecated
Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when frame no longer has a scheduled navigation.

§

PageFrameDetached(FrameDetachedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when frame has been detached from its parent.

§

PageFrameNavigated(FrameNavigatedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired once navigation of the frame has completed. Frame is now associated with the new loader.

§

PageDocumentOpened(DocumentOpenedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Fired when opening document to write to.

§

PageFrameResized(FrameResizedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.
§

PageFrameRequestedNavigation(FrameRequestedNavigationEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Fired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.

§

PageFrameScheduledNavigation(FrameScheduledNavigationEvent)

👎Deprecated
Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when frame schedules a potential navigation.

§

PageFrameStartedLoading(FrameStartedLoadingEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Fired when frame has started loading.

§

PageFrameStoppedLoading(FrameStoppedLoadingEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Fired when frame has stopped loading.

§

PageDownloadWillBegin(DownloadWillBeginEvent)

👎Deprecated
Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.

§

PageDownloadProgress(DownloadProgressEvent)

👎Deprecated
Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Fired when download makes progress. Last call has |done| == true. Deprecated. Use Browser.downloadProgress instead.

§

PageInterstitialHidden(InterstitialHiddenEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when interstitial page was hidden

§

PageInterstitialShown(InterstitialShownEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when interstitial page was shown

§

PageJavascriptDialogClosed(JavascriptDialogClosedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed.

§

PageJavascriptDialogOpening(JavascriptDialogOpeningEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open.

§

PageLifecycleEvent(LifecycleEventEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired for top level page lifecycle events such as navigation, load, paint, etc.

§

PageLoadEventFired(LoadEventFiredEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.
§

PageNavigatedWithinDocument(NavigatedWithinDocumentEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.

§

PageScreencastFrame(ScreencastFrameEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Compressed image data requested by the startScreencast.

§

PageScreencastVisibilityChanged(ScreencastVisibilityChangedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Fired when the page with currently enabled screencast was shown or hidden `.

§

PageWindowOpen(WindowOpenEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime only.

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

§

PageCompilationCacheProduced(CompilationCacheProducedEvent)

Available on crate features Page and Debugger and DOM and IO and Network and Runtime and experimental only.

Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled.

§

PerformanceMetrics(MetricsEvent)

Available on crate feature Performance only.

Current values of the metrics.

§

PerformanceTimelineTimelineEventAdded(TimelineEventAddedEvent)

Available on crate features experimental and PerformanceTimeline and DOM and Network only.

Sent when a performance timeline event is added. See reportPerformanceTimeline method.

§

SecurityCertificateError(CertificateErrorEvent)

👎Deprecated
Available on crate feature Security only.

There is a certificate error. If overriding certificate errors is enabled, then it should be handled with the handleCertificateError command. Note: this event does not fire if the certificate error has been allowed internally. Only one client per target should override certificate errors at the same time.

§

SecurityVisibleSecurityStateChanged(VisibleSecurityStateChangedEvent)

Available on crate features Security and experimental only.

The security state of the page changed.

§

SecuritySecurityStateChanged(SecurityStateChangedEvent)

Available on crate feature Security only.

The security state of the page changed.

§

ServiceWorkerWorkerErrorReported(WorkerErrorReportedEvent)

Available on crate features experimental and ServiceWorker and Target only.
§

ServiceWorkerWorkerRegistrationUpdated(WorkerRegistrationUpdatedEvent)

Available on crate features experimental and ServiceWorker and Target only.
§

ServiceWorkerWorkerVersionUpdated(WorkerVersionUpdatedEvent)

Available on crate features experimental and ServiceWorker and Target only.
§

StorageCacheStorageContentUpdated(CacheStorageContentUpdatedEvent)

Available on crate features experimental and Storage and Browser and Network only.

A cache’s contents have been modified.

§

StorageCacheStorageListUpdated(CacheStorageListUpdatedEvent)

Available on crate features experimental and Storage and Browser and Network only.

A cache has been added/deleted.

§

StorageIndexedDbContentUpdated(IndexedDbContentUpdatedEvent)

Available on crate features experimental and Storage and Browser and Network only.

The origin’s IndexedDB object store has been modified.

§

StorageIndexedDbListUpdated(IndexedDbListUpdatedEvent)

Available on crate features experimental and Storage and Browser and Network only.

The origin’s IndexedDB database list has been modified.

§

TargetAttachedToTarget(AttachedToTargetEvent)

Available on crate features Target and experimental only.

Issued when attached to target because of auto-attach or attachToTarget command.

§

TargetDetachedFromTarget(DetachedFromTargetEvent)

Available on crate features Target and experimental only.

Issued when detached from target for any reason (including detachFromTarget command). Can be issued multiple times per target if multiple sessions have been attached to it.

§

TargetReceivedMessageFromTarget(ReceivedMessageFromTargetEvent)

Available on crate feature Target only.

Notifies about a new protocol message received from the session (as reported in attachedToTarget event).

§

TargetTargetCreated(TargetCreatedEvent)

Available on crate feature Target only.

Issued when a possible inspection target is created.

§

TargetTargetDestroyed(TargetDestroyedEvent)

Available on crate feature Target only.

Issued when a target is destroyed.

§

TargetTargetCrashed(TargetCrashedEvent)

Available on crate feature Target only.

Issued when a target has crashed.

§

TargetTargetInfoChanged(TargetInfoChangedEvent)

Available on crate feature Target only.

Issued when some information about a target has changed. This only happens between targetCreated and targetDestroyed.

§

TetheringAccepted(AcceptedEvent)

Available on crate features experimental and Tethering only.

Informs that port was successfully bound and got a specified connection id.

§

TracingBufferUsage(BufferUsageEvent)

Available on crate features experimental and Tracing and IO only.
§

TracingDataCollected(DataCollectedEvent)

Available on crate features experimental and Tracing and IO only.

Contains an bucket of collected trace events. When tracing is stopped collected events will be send as a sequence of dataCollected events followed by tracingComplete event.

§

TracingTracingComplete(TracingCompleteEvent)

Available on crate features experimental and Tracing and IO only.

Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

§

FetchRequestPaused(RequestPausedEvent)

Available on crate features Fetch and Network and IO and Page only.

Issued when the domain is enabled and the request URL matches the specified filter. The request is paused until the client responds with one of continueRequest, failRequest or fulfillRequest. The stage of the request can be determined by presence of responseErrorReason and responseStatusCode – the request is at the response stage if either of these fields is present and in the request stage otherwise.

§

FetchAuthRequired(AuthRequiredEvent)

Available on crate features Fetch and Network and IO and Page only.

Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.

§

WebAudioContextCreated(ContextCreatedEvent)

Available on crate features experimental and WebAudio only.

Notifies that a new BaseAudioContext has been created.

§

WebAudioContextWillBeDestroyed(ContextWillBeDestroyedEvent)

Available on crate features experimental and WebAudio only.

Notifies that an existing BaseAudioContext will be destroyed.

§

WebAudioContextChanged(ContextChangedEvent)

Available on crate features experimental and WebAudio only.

Notifies that existing BaseAudioContext has changed some properties (id stays the same)..

§

WebAudioAudioListenerCreated(AudioListenerCreatedEvent)

Available on crate features experimental and WebAudio only.

Notifies that the construction of an AudioListener has finished.

§

WebAudioAudioListenerWillBeDestroyed(AudioListenerWillBeDestroyedEvent)

Available on crate features experimental and WebAudio only.

Notifies that a new AudioListener has been created.

§

WebAudioAudioNodeCreated(AudioNodeCreatedEvent)

Available on crate features experimental and WebAudio only.

Notifies that a new AudioNode has been created.

§

WebAudioAudioNodeWillBeDestroyed(AudioNodeWillBeDestroyedEvent)

Available on crate features experimental and WebAudio only.

Notifies that an existing AudioNode has been destroyed.

§

WebAudioAudioParamCreated(AudioParamCreatedEvent)

Available on crate features experimental and WebAudio only.

Notifies that a new AudioParam has been created.

§

WebAudioAudioParamWillBeDestroyed(AudioParamWillBeDestroyedEvent)

Available on crate features experimental and WebAudio only.

Notifies that an existing AudioParam has been destroyed.

§

WebAudioNodesConnected(NodesConnectedEvent)

Available on crate features experimental and WebAudio only.

Notifies that two AudioNodes are connected.

§

WebAudioNodesDisconnected(NodesDisconnectedEvent)

Available on crate features experimental and WebAudio only.

Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected.

§

WebAudioNodeParamConnected(NodeParamConnectedEvent)

Available on crate features experimental and WebAudio only.

Notifies that an AudioNode is connected to an AudioParam.

§

WebAudioNodeParamDisconnected(NodeParamDisconnectedEvent)

Available on crate features experimental and WebAudio only.

Notifies that an AudioNode is disconnected to an AudioParam.

§

MediaPlayerPropertiesChanged(PlayerPropertiesChangedEvent)

Available on crate features experimental and Media only.

This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal.

§

MediaPlayerEventsAdded(PlayerEventsAddedEvent)

Available on crate features experimental and Media only.

Send events as a list, allowing them to be batched on the browser for less congestion. If batched, events must ALWAYS be in chronological order.

§

MediaPlayerMessagesLogged(PlayerMessagesLoggedEvent)

Available on crate features experimental and Media only.

Send a list of any messages that need to be delivered.

§

MediaPlayerErrorsRaised(PlayerErrorsRaisedEvent)

Available on crate features experimental and Media only.

Send a list of any errors that need to be delivered.

§

MediaPlayersCreated(PlayersCreatedEvent)

Available on crate features experimental and Media only.

Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again.

§

ConsoleMessageAdded(MessageAddedEvent)

👎Deprecated
Available on crate features Console and Runtime only.

Issued when new console message is added.

§

DebuggerBreakpointResolved(BreakpointResolvedEvent)

Available on crate features Debugger and Runtime only.

Fired when breakpoint is resolved to an actual script and location.

§

DebuggerPaused(PausedEvent)

Available on crate features Debugger and Runtime only.

Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

§

DebuggerResumed(ResumedEvent)

Available on crate features Debugger and Runtime only.

Fired when the virtual machine resumed execution.

§

DebuggerScriptFailedToParse(ScriptFailedToParseEvent)

Available on crate features Debugger and Runtime only.

Fired when virtual machine fails to parse the script.

§

DebuggerScriptParsed(ScriptParsedEvent)

Available on crate features Debugger and Runtime only.

Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.

§

HeapProfilerAddHeapSnapshotChunk(AddHeapSnapshotChunkEvent)

Available on crate features experimental and HeapProfiler and Runtime only.
§

HeapProfilerHeapStatsUpdate(HeapStatsUpdateEvent)

Available on crate features experimental and HeapProfiler and Runtime only.

If heap objects tracking has been started then backend may send update for one or more fragments

§

HeapProfilerLastSeenObjectId(LastSeenObjectIdEvent)

Available on crate features experimental and HeapProfiler and Runtime only.

If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.

§

HeapProfilerReportHeapSnapshotProgress(ReportHeapSnapshotProgressEvent)

Available on crate features experimental and HeapProfiler and Runtime only.
§

HeapProfilerResetProfiles(ResetProfilesEvent)

Available on crate features experimental and HeapProfiler and Runtime only.
§

ProfilerConsoleProfileFinished(ConsoleProfileFinishedEvent)

Available on crate features Profiler and Runtime and Debugger only.
§

ProfilerConsoleProfileStarted(ConsoleProfileStartedEvent)

Available on crate features Profiler and Runtime and Debugger only.

Sent when new profile recording is started using console.profile() call.

§

ProfilerPreciseCoverageDeltaUpdate(PreciseCoverageDeltaUpdateEvent)

Available on crate features Profiler and Runtime and Debugger and experimental only.

Reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediatelly at a certain point in time.

§

RuntimeBindingCalled(BindingCalledEvent)

Available on crate features Runtime and experimental only.

Notification is issued every time when binding is called.

§

RuntimeConsoleApiCalled(ConsoleApiCalledEvent)

Available on crate feature Runtime only.

Issued when console API was called.

§

RuntimeExceptionRevoked(ExceptionRevokedEvent)

Available on crate feature Runtime only.

Issued when unhandled exception was revoked.

§

RuntimeExceptionThrown(ExceptionThrownEvent)

Available on crate feature Runtime only.

Issued when exception was thrown and unhandled.

§

RuntimeExecutionContextCreated(ExecutionContextCreatedEvent)

Available on crate feature Runtime only.

Issued when new execution context is created.

§

RuntimeExecutionContextDestroyed(ExecutionContextDestroyedEvent)

Available on crate feature Runtime only.

Issued when execution context is destroyed.

§

RuntimeExecutionContextsCleared(ExecutionContextsClearedEvent)

Available on crate feature Runtime only.

Issued when all executionContexts were cleared in browser

§

RuntimeInspectRequested(InspectRequestedEvent)

Available on crate feature Runtime only.

Issued when object should be inspected (for example, as a result of inspect() command line API call).

§

Unknown(String, Value)

Unknown event.

Trait Implementations§

Source§

impl Clone for Event

Source§

fn clone(&self) -> Event

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Event

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Event

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl Freeze for Event

§

impl RefUnwindSafe for Event

§

impl Send for Event

§

impl Sync for Event

§

impl Unpin for Event

§

impl UnwindSafe for Event

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,