Table of Contents

Class DeviceBoundSessionEventOccurredEventArgs

Namespace
Selenium.WebDriver.BiDi.Cdp.Network
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Triggered when a device bound session event occurs.

public sealed record DeviceBoundSessionEventOccurredEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<DeviceBoundSessionEventOccurredEventArgs>
Inheritance
EventArgs
DeviceBoundSessionEventOccurredEventArgs
Implements
IEquatable<EventArgs>
Inherited Members
EventArgs.ToString()
EventArgs.GetHashCode()
EventArgs.Equals(EventArgs)
EventArgs.<Clone>$()
EventArgs.BiDi
EventArgs.AdditionalData
EventArgs.AdditionalMessageData

Constructors

DeviceBoundSessionEventOccurredEventArgs(DeviceBoundSessionEventId, string, bool, string?, CreationEventDetails?, RefreshEventDetails?, TerminationEventDetails?, ChallengeEventDetails?)

Triggered when a device bound session event occurs.

public DeviceBoundSessionEventOccurredEventArgs(DeviceBoundSessionEventId EventId, string Site, bool Succeeded, string? SessionId = null, CreationEventDetails? CreationEventDetails = null, RefreshEventDetails? RefreshEventDetails = null, TerminationEventDetails? TerminationEventDetails = null, ChallengeEventDetails? ChallengeEventDetails = null)

Parameters

EventId DeviceBoundSessionEventId

A unique identifier for this session event.

Site string

The site this session event is associated with.

Succeeded bool

Whether this event was considered successful.

SessionId string

The session ID this event is associated with. May not be populated for failed events.

CreationEventDetails CreationEventDetails

The below are the different session event type details. Exactly one is populated.

RefreshEventDetails RefreshEventDetails
TerminationEventDetails TerminationEventDetails
ChallengeEventDetails ChallengeEventDetails

Properties

ChallengeEventDetails

public ChallengeEventDetails? ChallengeEventDetails { get; init; }

Property Value

ChallengeEventDetails

CreationEventDetails

The below are the different session event type details. Exactly one is populated.

public CreationEventDetails? CreationEventDetails { get; init; }

Property Value

CreationEventDetails

EventId

A unique identifier for this session event.

public DeviceBoundSessionEventId EventId { get; init; }

Property Value

DeviceBoundSessionEventId

RefreshEventDetails

public RefreshEventDetails? RefreshEventDetails { get; init; }

Property Value

RefreshEventDetails

SessionId

The session ID this event is associated with. May not be populated for failed events.

public string? SessionId { get; init; }

Property Value

string

Site

The site this session event is associated with.

public string Site { get; init; }

Property Value

string

Succeeded

Whether this event was considered successful.

public bool Succeeded { get; init; }

Property Value

bool

TerminationEventDetails

public TerminationEventDetails? TerminationEventDetails { get; init; }

Property Value

TerminationEventDetails