Skip to main content

CDPSessionEvent

CDPSessionEvent objects are returned by page via the CdpSession.Event() method.

Each object represents a named event and allows handling of the event when it is raised.


Properties

EventName

Added in: 1.30 cdpSessionEvent.EventName

Usage

CdpSessionEvent.EventName

Type


Events

event OnEvent

Added in: v1.30 cdpSessionEvent.event OnEvent

Usage

CdpSessionEvent.OnEvent += async (_, jsonElement) => {};

Event data

  • [JsonElement?]