Package io.webfolder.cdp.event
Enum Class Events
- All Implemented Interfaces:
Serializable
,Comparable<Events>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe loadComplete event mirrors the load complete event sent by the browser to assistive technology when the web page has finished loading.The nodesUpdated event is sent every time a previously requested node has changed the in tree.Event for when an animation has been cancelled.Event for each animation that has been created.Event for animation that has been started.Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording.Called when the recording state for the service has been updated.Fired when download makes progress.Fired when page is about to start a download.This is fired whenever the outstanding issue/error message changes.This is fired whenever the list of available sinks changes.Issued when new console message is added.Fires whenever a web font is updated.Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features.Fired whenever an active document stylesheet is added.Fired whenever a stylesheet is changed as a result of the client operation.Fired whenever an active document stylesheet is removed.Fired when breakpoint is resolved to an actual script and location.Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.Fired when the virtual machine resumed execution.Fired when virtual machine fails to parse the script.Fired when virtual machine parses script.Fired when Element's attribute is modified.Fired when Element's attribute is removed.Mirrors DOMCharacterDataModified event.Fired when Container's child node count has changed.Mirrors DOMNodeInserted event.Mirrors DOMNodeRemoved event.Called when distribution is changed.Fired when Document has been totally updated.Fired when Element's inline style is modified via a CSS property modification.Called when a pseudo element is added to an element.Called when a pseudo element is removed from an element.Fired when backend wants to provide client with the missing DOM structure.Called when shadow root is popped from the element.Called when shadow root is pushed into the element.Called when top layer elements are changed.Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.Issued when the domain is enabled with handleAuthRequests set to true.Issued when the domain is enabled and the request URL matches the specified filter.Issued when the target starts or stops needing BeginFrames.If heap objects tracking has been started then backend may send update for one or more fragmentsIf heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp.Emitted only when Input.setInterceptDrags is enabled.Fired when remote debugging connection is about to be terminated.Fired when debugging target has crashedFired when debugging target has reloaded after crashIssued when new message was logged.Send a list of any errors that need to be delivered.Send events as a list, allowing them to be batched on the browser for less congestion.Send a list of any messages that need to be delivered.This can be called multiple times, and can be used to set / override / remove player properties.Called whenever a player is created, or when a new agent joins and receives a list of active players.Fired when data chunk was received over the network.Fired when EventSource message is received.Fired when HTTP request has failed to load.Fired when HTTP request has finished loading.Is sent whenever a new report is added.Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked.Fired if request ended up loading from cache.Fired when page is about to send HTTP request.Fired when additional information about a requestWillBeSent event is available from the network stack.Fired when resource loading priority is changedFired when HTTP response is available.Fired when additional information about a responseReceived event is available from the network stack.Fired when a signed exchange was received over the networkFired when request for resources within a .wbn file failed.Fired when handling requests for resources within a .wbn file.Fired once when parsing the .wbn file has failed.Fired once when parsing the .wbn file has succeeded.Fired exactly once for each Trust Token operation.Fired when WebSocket is closed.Fired upon WebSocket creation.Fired when WebSocket message error occurs.Fired when WebSocket message is received.Fired when WebSocket message is sent.Fired when WebSocket handshake response becomes available.Fired when WebSocket is about to initiate handshake.Fired when WebTransport is disposed.Fired when WebTransport handshake is finished.Fired upon WebTransport creation.Fired when user cancels the inspect mode.Fired when the node should be inspected.Fired when the node should be highlighted.Fired when user asks to capture screenshot of some area on the page.Fired for failed bfcache history navigations if BackForwardCache feature is enabled.Issued for every compilation cache generated.Fired when opening document to write to.Fired when download makes progress.Fired when page is about to start a download.Emitted only when page.interceptFileChooser is enabled.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.Fired once navigation of the frame has completed.Fired when a renderer-initiated navigation is requested.Fired when frame schedules a potential navigation.Fired when frame has started loading.Fired when frame has stopped loading.Fired when interstitial page was hiddenFired when interstitial page was shownFired 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.Fired for top level page lifecycle events such as navigation, load, paint, etc.Fired when same-document navigation happens, e.g.Fired when a prerender attempt is completed.Compressed image data requested by the startScreencast.Fired when the page with currently enabled screencast was shown or hidden .Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.Current values of the metrics.Sent when a performance timeline event is added.Sent when new profile recording is started using console.profile() call.Reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage for the current isolate.Notification is issued every time when binding is called.Issued when console API was called.Issued when unhandled exception was revoked.Issued when exception was thrown and unhandled.Issued when new execution context is created.Issued when execution context is destroyed.Issued when all executionContexts were cleared in browserIssued when object should be inspected (for example, as a result of inspect() command line API call).There is a certificate error.The security state of the page changed.The security state of the page changed.A cache's contents have been modified.A cache has been added/deleted.The origin's IndexedDB object store has been modified.The origin's IndexedDB database list has been modified.One of the interest groups was accessed by the associated page.Issued when attached to target because of auto-attach or attachToTarget command.Issued when detached from target for any reason (including detachFromTarget command).Notifies about a new protocol message received from the session (as reported in attachedToTarget event).Issued when a target has crashed.Issued when a possible inspection target is created.Issued when a target is destroyed.Issued when some information about a target has changed.Informs that port was successfully bound and got a specified connection id.Contains an bucket of collected trace events.Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.Notifies that the construction of an AudioListener has finished.Notifies that a new AudioListener has been created.Notifies that a new AudioNode has been created.Notifies that an existing AudioNode has been destroyed.Notifies that a new AudioParam has been created.Notifies that an existing AudioParam has been destroyed.Notifies that existing BaseAudioContext has changed some properties (id stays the same)..Notifies that a new BaseAudioContext has been created.Notifies that an existing BaseAudioContext will be destroyed.Notifies that an AudioNode is connected to an AudioParam.Notifies that an AudioNode is disconnected to an AudioParam.Notifies that two AudioNodes are connected.Notifies that AudioNodes are disconnected. -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
AccessibilityLoadComplete
The loadComplete event mirrors the load complete event sent by the browser to assistive technology when the web page has finished loading. -
AccessibilityNodesUpdated
The nodesUpdated event is sent every time a previously requested node has changed the in tree. -
AnimationAnimationCanceled
Event for when an animation has been cancelled. -
AnimationAnimationCreated
Event for each animation that has been created. -
AnimationAnimationStarted
Event for animation that has been started. -
AuditsIssueAdded
-
BackgroundServiceRecordingStateChanged
Called when the recording state for the service has been updated. -
BackgroundServiceBackgroundServiceEventReceived
Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording. -
BrowserDownloadWillBegin
Fired when page is about to start a download. -
BrowserDownloadProgress
Fired when download makes progress. Last call has |done| == true. -
CSSFontsUpdated
Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font -
CSSMediaQueryResultChanged
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
Fired whenever an active document stylesheet is added. -
CSSStyleSheetChanged
Fired whenever a stylesheet is changed as a result of the client operation. -
CSSStyleSheetRemoved
Fired whenever an active document stylesheet is removed. -
CastSinksUpdated
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
This is fired whenever the outstanding issue/error message changes. |issueMessage| is empty if there is no issue. -
DOMAttributeModified
Fired when Element's attribute is modified. -
DOMAttributeRemoved
Fired when Element's attribute is removed. -
DOMCharacterDataModified
Mirrors DOMCharacterDataModified event. -
DOMChildNodeCountUpdated
Fired when Container's child node count has changed. -
DOMChildNodeInserted
Mirrors DOMNodeInserted event. -
DOMChildNodeRemoved
Mirrors DOMNodeRemoved event. -
DOMDistributedNodesUpdated
Called when distribution is changed. -
DOMDocumentUpdated
Fired when Document has been totally updated. Node ids are no longer valid. -
DOMInlineStyleInvalidated
Fired when Element's inline style is modified via a CSS property modification. -
DOMPseudoElementAdded
Called when a pseudo element is added to an element. -
DOMTopLayerElementsUpdated
Called when top layer elements are changed. -
DOMPseudoElementRemoved
Called when a pseudo element is removed from an element. -
DOMSetChildNodes
Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids. -
DOMShadowRootPopped
Called when shadow root is popped from the element. -
DOMShadowRootPushed
Called when shadow root is pushed into the element. -
DOMStorageDomStorageItemAdded
-
DOMStorageDomStorageItemRemoved
-
DOMStorageDomStorageItemUpdated
-
DOMStorageDomStorageItemsCleared
-
DatabaseAddDatabase
-
EmulationVirtualTimeBudgetExpired
Notification sent after the virtual time budget for the current VirtualTimePolicy has run out. -
HeadlessExperimentalNeedsBeginFramesChanged
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
Emitted only when Input.setInterceptDrags is enabled. Use this data with Input.dispatchDragEvent to restore normal drag and drop behavior. -
InspectorDetached
Fired when remote debugging connection is about to be terminated. Contains detach reason. -
InspectorTargetCrashed
Fired when debugging target has crashed -
InspectorTargetReloadedAfterCrash
Fired when debugging target has reloaded after crash -
LayerTreeLayerPainted
-
LayerTreeLayerTreeDidChange
-
LogEntryAdded
Issued when new message was logged. -
NetworkDataReceived
Fired when data chunk was received over the network. -
NetworkEventSourceMessageReceived
Fired when EventSource message is received. -
NetworkLoadingFailed
Fired when HTTP request has failed to load. -
NetworkLoadingFinished
Fired when HTTP request has finished loading. -
NetworkRequestIntercepted
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead. -
NetworkRequestServedFromCache
Fired if request ended up loading from cache. -
NetworkRequestWillBeSent
Fired when page is about to send HTTP request. -
NetworkResourceChangedPriority
Fired when resource loading priority is changed -
NetworkSignedExchangeReceived
Fired when a signed exchange was received over the network -
NetworkResponseReceived
Fired when HTTP response is available. -
NetworkWebSocketClosed
Fired when WebSocket is closed. -
NetworkWebSocketCreated
Fired upon WebSocket creation. -
NetworkWebSocketFrameError
Fired when WebSocket message error occurs. -
NetworkWebSocketFrameReceived
Fired when WebSocket message is received. -
NetworkWebSocketFrameSent
Fired when WebSocket message is sent. -
NetworkWebSocketHandshakeResponseReceived
Fired when WebSocket handshake response becomes available. -
NetworkWebSocketWillSendHandshakeRequest
Fired when WebSocket is about to initiate handshake. -
NetworkWebTransportCreated
Fired upon WebTransport creation. -
NetworkWebTransportConnectionEstablished
Fired when WebTransport handshake is finished. -
NetworkWebTransportClosed
Fired when WebTransport is disposed. -
NetworkRequestWillBeSentExtraInfo
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
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
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. -
NetworkSubresourceWebBundleMetadataReceived
Fired once when parsing the .wbn file has succeeded. The event contains the information about the web bundle contents. -
NetworkSubresourceWebBundleMetadataError
Fired once when parsing the .wbn file has failed. -
NetworkSubresourceWebBundleInnerResponseParsed
Fired when handling requests for resources within a .wbn file. Note: this will only be fired for resources that are requested by the webpage. -
NetworkSubresourceWebBundleInnerResponseError
Fired when request for resources within a .wbn file failed. -
NetworkReportingApiReportAdded
Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports. -
NetworkReportingApiReportUpdated
-
NetworkReportingApiEndpointsChangedForOrigin
-
OverlayInspectNodeRequested
Fired when the node should be inspected. This happens after call to setInspectMode or when user manually inspects an element. -
OverlayNodeHighlightRequested
Fired when the node should be highlighted. This happens after call to setInspectMode. -
OverlayScreenshotRequested
Fired when user asks to capture screenshot of some area on the page. -
OverlayInspectModeCanceled
Fired when user cancels the inspect mode. -
PageDomContentEventFired
-
PageFileChooserOpened
Emitted only when page.interceptFileChooser is enabled. -
PageFrameAttached
Fired when frame has been attached to its parent. -
PageFrameDetached
Fired when frame has been detached from its parent. -
PageDocumentOpened
Fired when opening document to write to. -
PageFrameResized
-
PageFrameStartedLoading
Fired when frame has started loading. -
PageFrameStoppedLoading
Fired when frame has stopped loading. -
PageDownloadWillBegin
Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead. -
PageDownloadProgress
Fired when download makes progress. Last call has |done| == true. Deprecated. Use Browser.downloadProgress instead. -
PageInterstitialHidden
Fired when interstitial page was hidden -
PageInterstitialShown
Fired when interstitial page was shown -
PageJavascriptDialogClosed
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been closed. -
PageJavascriptDialogOpening
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to open. -
PageLifecycleEvent
Fired for top level page lifecycle events such as navigation, load, paint, etc. -
PageBackForwardCacheNotUsed
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. -
PagePrerenderAttemptCompleted
Fired when a prerender attempt is completed. -
PageLoadEventFired
-
PageScreencastFrame
Compressed image data requested by the startScreencast. -
PageScreencastVisibilityChanged
Fired when the page with currently enabled screencast was shown or hidden . -
PageWindowOpen
Fired when a new window is going to be opened, via window.open(), link click, form submission, etc. -
PageCompilationCacheProduced
Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled. -
PerformanceMetrics
Current values of the metrics. -
PerformanceTimelineTimelineEventAdded
Sent when a performance timeline event is added. See reportPerformanceTimeline method. -
SecurityCertificateError
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
The security state of the page changed. -
SecuritySecurityStateChanged
The security state of the page changed. No longer being sent. -
ServiceWorkerWorkerErrorReported
-
ServiceWorkerWorkerRegistrationUpdated
-
ServiceWorkerWorkerVersionUpdated
-
StorageCacheStorageContentUpdated
A cache's contents have been modified. -
StorageCacheStorageListUpdated
A cache has been added/deleted. -
StorageIndexedDBContentUpdated
The origin's IndexedDB object store has been modified. -
StorageIndexedDBListUpdated
The origin's IndexedDB database list has been modified. -
StorageInterestGroupAccessed
One of the interest groups was accessed by the associated page. -
TargetAttachedToTarget
Issued when attached to target because of auto-attach or attachToTarget command. -
TargetDetachedFromTarget
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
Notifies about a new protocol message received from the session (as reported in attachedToTarget event). -
TargetTargetCreated
Issued when a possible inspection target is created. -
TargetTargetDestroyed
Issued when a target is destroyed. -
TargetTargetCrashed
Issued when a target has crashed. -
TargetTargetInfoChanged
Issued when some information about a target has changed. This only happens between targetCreated and targetDestroyed. -
TetheringAccepted
Informs that port was successfully bound and got a specified connection id. -
TracingBufferUsage
-
TracingDataCollected
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
Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events. -
FetchRequestPaused
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
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth. -
WebAudioContextCreated
Notifies that a new BaseAudioContext has been created. -
WebAudioContextWillBeDestroyed
Notifies that an existing BaseAudioContext will be destroyed. -
WebAudioContextChanged
Notifies that existing BaseAudioContext has changed some properties (id stays the same).. -
WebAudioAudioListenerCreated
Notifies that the construction of an AudioListener has finished. -
WebAudioAudioListenerWillBeDestroyed
Notifies that a new AudioListener has been created. -
WebAudioAudioNodeCreated
Notifies that a new AudioNode has been created. -
WebAudioAudioNodeWillBeDestroyed
Notifies that an existing AudioNode has been destroyed. -
WebAudioAudioParamCreated
Notifies that a new AudioParam has been created. -
WebAudioAudioParamWillBeDestroyed
Notifies that an existing AudioParam has been destroyed. -
WebAudioNodesConnected
Notifies that two AudioNodes are connected. -
WebAudioNodesDisconnected
Notifies that AudioNodes are disconnected. The destination can be null, and it means all the outgoing connections from the source are disconnected. -
WebAudioNodeParamConnected
Notifies that an AudioNode is connected to an AudioParam. -
WebAudioNodeParamDisconnected
Notifies that an AudioNode is disconnected to an AudioParam. -
MediaPlayerPropertiesChanged
This can be called multiple times, and can be used to set / override / remove player properties. A null propValue indicates removal. -
MediaPlayerEventsAdded
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
Send a list of any messages that need to be delivered. -
MediaPlayerErrorsRaised
Send a list of any errors that need to be delivered. -
MediaPlayersCreated
Called whenever a player is created, or when a new agent joins and receives a list of active players. If an agent is restored, it will receive the full list of player ids and all events again. -
ConsoleMessageAdded
Issued when new console message is added. -
DebuggerBreakpointResolved
Fired when breakpoint is resolved to an actual script and location. -
DebuggerPaused
Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. -
DebuggerResumed
Fired when the virtual machine resumed execution. -
DebuggerScriptFailedToParse
Fired when virtual machine fails to parse the script. -
DebuggerScriptParsed
Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. -
HeapProfilerAddHeapSnapshotChunk
-
HeapProfilerHeapStatsUpdate
If heap objects tracking has been started then backend may send update for one or more fragments -
HeapProfilerLastSeenObjectId
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
-
HeapProfilerResetProfiles
-
ProfilerConsoleProfileFinished
-
ProfilerConsoleProfileStarted
Sent when new profile recording is started using console.profile() call. -
ProfilerPreciseCoverageDeltaUpdate
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 immediately at a certain point in time. -
RuntimeBindingCalled
Notification is issued every time when binding is called. -
RuntimeConsoleAPICalled
Issued when console API was called. -
RuntimeExceptionRevoked
Issued when unhandled exception was revoked. -
RuntimeExceptionThrown
Issued when exception was thrown and unhandled. -
RuntimeExecutionContextCreated
Issued when new execution context is created. -
RuntimeExecutionContextDestroyed
Issued when execution context is destroyed. -
RuntimeExecutionContextsCleared
Issued when all executionContexts were cleared in browser -
RuntimeInspectRequested
Issued when object should be inspected (for example, as a result of inspect() command line API call).
-
-
Field Details
-
domain
-
name
-
klass
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
-