playwright/docs/src/api/class-cdpsessionevent.md
Jeremy Hutchinson bc134551fb
docs(dotnet): add support for CDPSession (#20053)
Implemented in https://github.com/microsoft/playwright-dotnet/pull/2448

Signed-off-by: Jeremy Hutchinson <jrhutch@live.com>
Co-authored-by: Jeremy Hutchinson <jehutchi@microsoft.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-01-26 11:49:10 +01:00

425 B

class: CDPSessionEvent

  • since: v1.30
  • langs: csharp

[CDPSessionEvent] objects are returned by page via the [method: CDPSession.event] method.

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

event: CDPSessionEvent.onEvent

  • since: v1.30
  • langs: csharp
  • argument: <[JsonElement?]>

property: CDPSessionEvent.eventName

  • since: 1.30
  • langs: csharp
  • returns: <[string]>