pl.wendigo.chrome.protocol / Event

Event

open class Event (source)

Debugger event represents generic protocol event consisting of domain and event names. This class is also supertype of all parameterized events.

Constructors

<init>

Event(domain: String, name: String)

Debugger event represents generic protocol event consisting of domain and event names. This class is also supertype of all parameterized events.

Functions

protocolDomain

fun protocolDomain(): String

Inheritors

AcceptedEvent

data class AcceptedEvent : Event

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

AddDatabaseEvent

data class AddDatabaseEvent : Event

AddHeapSnapshotChunkEvent

data class AddHeapSnapshotChunkEvent : Event

AnimationCanceledEvent

data class AnimationCanceledEvent : Event

Event for when an animation has been cancelled.

AnimationCreatedEvent

data class AnimationCreatedEvent : Event

Event for each animation that has been created.

AnimationStartedEvent

data class AnimationStartedEvent : Event

Event for animation that has been started.

ApplicationCacheStatusUpdatedEvent

data class ApplicationCacheStatusUpdatedEvent : Event

AttachedToTargetEvent

data class AttachedToTargetEvent : Event

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

AttributeModifiedEvent

data class AttributeModifiedEvent : Event

Fired when Element's attribute is modified.

AttributeRemovedEvent

data class AttributeRemovedEvent : Event

Fired when Element's attribute is removed.

AudioListenerCreatedEvent

data class AudioListenerCreatedEvent : Event

Notifies that the construction of an AudioListener has finished.

AudioListenerWillBeDestroyedEvent

data class AudioListenerWillBeDestroyedEvent : Event

Notifies that a new AudioListener has been created.

AudioNodeCreatedEvent

data class AudioNodeCreatedEvent : Event

Notifies that a new AudioNode has been created.

AudioNodeWillBeDestroyedEvent

data class AudioNodeWillBeDestroyedEvent : Event

Notifies that an existing AudioNode has been destroyed.

AudioParamCreatedEvent

data class AudioParamCreatedEvent : Event

Notifies that a new AudioParam has been created.

AudioParamWillBeDestroyedEvent

data class AudioParamWillBeDestroyedEvent : Event

Notifies that an existing AudioParam has been destroyed.

AuthRequiredEvent

data class AuthRequiredEvent : Event

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

BackgroundServiceEventReceivedEvent

data class BackgroundServiceEventReceivedEvent : Event

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

BindingCalledEvent

data class BindingCalledEvent : Event

Notification is issued every time when binding is called.

BreakpointResolvedEvent

data class BreakpointResolvedEvent : Event

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

BufferUsageEvent

data class BufferUsageEvent : Event

CacheStorageContentUpdatedEvent

data class CacheStorageContentUpdatedEvent : Event

A cache's contents have been modified.

CacheStorageListUpdatedEvent

data class CacheStorageListUpdatedEvent : Event

A cache has been added/deleted.

CertificateErrorEvent

data class CertificateErrorEvent : Event

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.

CharacterDataModifiedEvent

data class CharacterDataModifiedEvent : Event

Mirrors DOMCharacterDataModified event.

ChildNodeCountUpdatedEvent

data class ChildNodeCountUpdatedEvent : Event

Fired when Container's child node count has changed.

ChildNodeInsertedEvent

data class ChildNodeInsertedEvent : Event

Mirrors DOMNodeInserted event.

ChildNodeRemovedEvent

data class ChildNodeRemovedEvent : Event

Mirrors DOMNodeRemoved event.

CompilationCacheProducedEvent

data class CompilationCacheProducedEvent : Event

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

ConsoleAPICalledEvent

data class ConsoleAPICalledEvent : Event

Issued when console API was called.

ConsoleProfileFinishedEvent

data class ConsoleProfileFinishedEvent : Event

ConsoleProfileStartedEvent

data class ConsoleProfileStartedEvent : Event

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

ContextChangedEvent

data class ContextChangedEvent : Event

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

ContextCreatedEvent

data class ContextCreatedEvent : Event

Notifies that a new BaseAudioContext has been created.

ContextWillBeDestroyedEvent

data class ContextWillBeDestroyedEvent : Event

Notifies that an existing BaseAudioContext will be destroyed.

DataCollectedEvent

data class DataCollectedEvent : Event

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.

DataReceivedEvent

data class DataReceivedEvent : Event

Fired when data chunk was received over the network.

DetachedEvent

data class DetachedEvent : Event

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

DetachedFromTargetEvent

data class DetachedFromTargetEvent : Event

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.

DistributedNodesUpdatedEvent

data class DistributedNodesUpdatedEvent : Event

Called when distrubution is changed.

DomContentEventFiredEvent

data class DomContentEventFiredEvent : Event

DomStorageItemAddedEvent

data class DomStorageItemAddedEvent : Event

DomStorageItemRemovedEvent

data class DomStorageItemRemovedEvent : Event

DomStorageItemsClearedEvent

data class DomStorageItemsClearedEvent : Event

DomStorageItemUpdatedEvent

data class DomStorageItemUpdatedEvent : Event

DownloadWillBeginEvent

data class DownloadWillBeginEvent : Event

Fired when page is about to start a download.

EntryAddedEvent

data class EntryAddedEvent : Event

Issued when new message was logged.

EventSourceMessageReceivedEvent

data class EventSourceMessageReceivedEvent : Event

Fired when EventSource message is received.

ExceptionRevokedEvent

data class ExceptionRevokedEvent : Event

Issued when unhandled exception was revoked.

ExceptionThrownEvent

data class ExceptionThrownEvent : Event

Issued when exception was thrown and unhandled.

ExecutionContextCreatedEvent

data class ExecutionContextCreatedEvent : Event

Issued when new execution context is created.

ExecutionContextDestroyedEvent

data class ExecutionContextDestroyedEvent : Event

Issued when execution context is destroyed.

FileChooserOpenedEvent

data class FileChooserOpenedEvent : Event

Emitted only when page.interceptFileChooser is enabled.

FontsUpdatedEvent

data class FontsUpdatedEvent : Event

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

FrameAttachedEvent

data class FrameAttachedEvent : Event

Fired when frame has been attached to its parent.

FrameClearedScheduledNavigationEvent

data class FrameClearedScheduledNavigationEvent : Event

Fired when frame no longer has a scheduled navigation.

FrameDetachedEvent

data class FrameDetachedEvent : Event

Fired when frame has been detached from its parent.

FrameNavigatedEvent

data class FrameNavigatedEvent : Event

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

FrameRequestedNavigationEvent

data class FrameRequestedNavigationEvent : Event

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

FrameScheduledNavigationEvent

data class FrameScheduledNavigationEvent : Event

Fired when frame schedules a potential navigation.

FrameStartedLoadingEvent

data class FrameStartedLoadingEvent : Event

Fired when frame has started loading.

FrameStoppedLoadingEvent

data class FrameStoppedLoadingEvent : Event

Fired when frame has stopped loading.

HeapStatsUpdateEvent

data class HeapStatsUpdateEvent : Event

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

IndexedDBContentUpdatedEvent

data class IndexedDBContentUpdatedEvent : Event

The origin's IndexedDB object store has been modified.

IndexedDBListUpdatedEvent

data class IndexedDBListUpdatedEvent : Event

The origin's IndexedDB database list has been modified.

InlineStyleInvalidatedEvent

data class InlineStyleInvalidatedEvent : Event

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

InspectNodeRequestedEvent

data class InspectNodeRequestedEvent : Event

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

InspectRequestedEvent

data class InspectRequestedEvent : Event

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

IssueUpdatedEvent

data class IssueUpdatedEvent : Event

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

JavascriptDialogClosedEvent

data class JavascriptDialogClosedEvent : Event

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

JavascriptDialogOpeningEvent

data class JavascriptDialogOpeningEvent : Event

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

LastSeenObjectIdEvent

data class LastSeenObjectIdEvent : Event

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.

LayerPaintedEvent

data class LayerPaintedEvent : Event

LayerTreeDidChangeEvent

data class LayerTreeDidChangeEvent : Event

LifecycleEventEvent

data class LifecycleEventEvent : Event

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

LoadEventFiredEvent

data class LoadEventFiredEvent : Event

LoadingFailedEvent

data class LoadingFailedEvent : Event

Fired when HTTP request has failed to load.

LoadingFinishedEvent

data class LoadingFinishedEvent : Event

Fired when HTTP request has finished loading.

MessageAddedEvent

data class MessageAddedEvent : Event

Issued when new console message is added.

MetricsEvent

data class MetricsEvent : Event

Current values of the metrics.

NavigatedWithinDocumentEvent

data class NavigatedWithinDocumentEvent : Event

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

NeedsBeginFramesChangedEvent

data class NeedsBeginFramesChangedEvent : Event

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.

NetworkStateUpdatedEvent

data class NetworkStateUpdatedEvent : Event

NodeHighlightRequestedEvent

data class NodeHighlightRequestedEvent : Event

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

NodeParamConnectedEvent

data class NodeParamConnectedEvent : Event

Notifies that an AudioNode is connected to an AudioParam.

NodeParamDisconnectedEvent

data class NodeParamDisconnectedEvent : Event

Notifies that an AudioNode is disconnected to an AudioParam.

NodesConnectedEvent

data class NodesConnectedEvent : Event

Notifies that two AudioNodes are connected.

NodesDisconnectedEvent

data class NodesDisconnectedEvent : Event

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

PausedEvent

data class PausedEvent : Event

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

PlayerEventsAddedEvent

data class PlayerEventsAddedEvent : Event

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.

PlayerPropertiesChangedEvent

data class PlayerPropertiesChangedEvent : Event

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

PlayersCreatedEvent

data class PlayersCreatedEvent : Event

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.

PseudoElementAddedEvent

data class PseudoElementAddedEvent : Event

Called when a pseudo element is added to an element.

PseudoElementRemovedEvent

data class PseudoElementRemovedEvent : Event

Called when a pseudo element is removed from an element.

ReceivedMessageFromTargetEvent

data class ReceivedMessageFromTargetEvent : Event

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

RecordingStateChangedEvent

data class RecordingStateChangedEvent : Event

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

ReportHeapSnapshotProgressEvent

data class ReportHeapSnapshotProgressEvent : Event

RequestInterceptedEvent

data class RequestInterceptedEvent : Event

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

RequestPausedEvent

data class RequestPausedEvent : Event

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.

RequestServedFromCacheEvent

data class RequestServedFromCacheEvent : Event

Fired if request ended up loading from cache.

RequestWillBeSentEvent

data class RequestWillBeSentEvent : Event

Fired when page is about to send HTTP request.

RequestWillBeSentExtraInfoEvent

data class RequestWillBeSentExtraInfoEvent : Event

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.

ResourceChangedPriorityEvent

data class ResourceChangedPriorityEvent : Event

Fired when resource loading priority is changed

ResponseReceivedEvent

data class ResponseReceivedEvent : Event

Fired when HTTP response is available.

ResponseReceivedExtraInfoEvent

data class ResponseReceivedExtraInfoEvent : Event

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.

ScreencastFrameEvent

data class ScreencastFrameEvent : Event

Compressed image data requested by the startScreencast.

ScreencastVisibilityChangedEvent

data class ScreencastVisibilityChangedEvent : Event

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

ScreenshotRequestedEvent

data class ScreenshotRequestedEvent : Event

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

ScriptFailedToParseEvent

data class ScriptFailedToParseEvent : Event

Fired when virtual machine fails to parse the script.

ScriptParsedEvent

data class ScriptParsedEvent : Event

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

SecurityStateChangedEvent

data class SecurityStateChangedEvent : Event

The security state of the page changed.

SetChildNodesEvent

data class SetChildNodesEvent : Event

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

ShadowRootPoppedEvent

data class ShadowRootPoppedEvent : Event

Called when shadow root is popped from the element.

ShadowRootPushedEvent

data class ShadowRootPushedEvent : Event

Called when shadow root is pushed into the element.

SignedExchangeReceivedEvent

data class SignedExchangeReceivedEvent : Event

Fired when a signed exchange was received over the network

SinksUpdatedEvent

data class SinksUpdatedEvent : Event

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

StyleSheetAddedEvent

data class StyleSheetAddedEvent : Event

Fired whenever an active document stylesheet is added.

StyleSheetChangedEvent

data class StyleSheetChangedEvent : Event

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

StyleSheetRemovedEvent

data class StyleSheetRemovedEvent : Event

Fired whenever an active document stylesheet is removed.

TargetCrashedEvent

data class TargetCrashedEvent : Event

Issued when a target has crashed.

TargetCreatedEvent

data class TargetCreatedEvent : Event

Issued when a possible inspection target is created.

TargetDestroyedEvent

data class TargetDestroyedEvent : Event

Issued when a target is destroyed.

TargetInfoChangedEvent

data class TargetInfoChangedEvent : Event

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

TracingCompleteEvent

data class TracingCompleteEvent : Event

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

VisibleSecurityStateChangedEvent

data class VisibleSecurityStateChangedEvent : Event

The security state of the page changed.

WebSocketClosedEvent

data class WebSocketClosedEvent : Event

Fired when WebSocket is closed.

WebSocketCreatedEvent

data class WebSocketCreatedEvent : Event

Fired upon WebSocket creation.

WebSocketFrameErrorEvent

data class WebSocketFrameErrorEvent : Event

Fired when WebSocket message error occurs.

WebSocketFrameReceivedEvent

data class WebSocketFrameReceivedEvent : Event

Fired when WebSocket message is received.

WebSocketFrameSentEvent

data class WebSocketFrameSentEvent : Event

Fired when WebSocket message is sent.

WebSocketHandshakeResponseReceivedEvent

data class WebSocketHandshakeResponseReceivedEvent : Event

Fired when WebSocket handshake response becomes available.

WebSocketWillSendHandshakeRequestEvent

data class WebSocketWillSendHandshakeRequestEvent : Event

Fired when WebSocket is about to initiate handshake.

WindowOpenEvent

data class WindowOpenEvent : Event

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

WorkerErrorReportedEvent

data class WorkerErrorReportedEvent : Event

WorkerRegistrationUpdatedEvent

data class WorkerRegistrationUpdatedEvent : Event

WorkerVersionUpdatedEvent

data class WorkerVersionUpdatedEvent : Event