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

使用方式

CdpSessionEvent.EventName

型別 (Type)


事件 (Events)

event OnEvent

Added in: v1.30 cdpSessionEvent.event OnEvent

使用方式

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

事件資料

  • [JsonElement?]