Table of Contents

Class ContextCreatedEventData

Namespace
WebDriverBiDi.BrowsingContext
Assembly
WebDriverBiDi.dll

The data received with the browsingContext.contextCreated event, exposed to observers through ContextCreatedEventArgs.

public record ContextCreatedEventData : BrowsingContextInfo, IEquatable<BrowsingContextInfo>, IEquatable<ContextCreatedEventData>
Inheritance
ContextCreatedEventData
Implements
Inherited Members

Constructors

ContextCreatedEventData(ContextCreatedEventData)

protected ContextCreatedEventData(ContextCreatedEventData original)

Parameters

original ContextCreatedEventData

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

HasPlannedNavigation

Gets a value indicating whether the browsing context will navigate after the event is raised.

[JsonPropertyName("hasPlannedNavigation")]
[JsonInclude]
public bool? HasPlannedNavigation { get; }

Property Value

bool?

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BrowsingContextInfo?)

public override sealed bool Equals(BrowsingContextInfo? other)

Parameters

other BrowsingContextInfo

Returns

bool

Equals(ContextCreatedEventData?)

public virtual bool Equals(ContextCreatedEventData? other)

Parameters

other ContextCreatedEventData

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ContextCreatedEventData?, ContextCreatedEventData?)

public static bool operator ==(ContextCreatedEventData? left, ContextCreatedEventData? right)

Parameters

left ContextCreatedEventData
right ContextCreatedEventData

Returns

bool

operator !=(ContextCreatedEventData?, ContextCreatedEventData?)

public static bool operator !=(ContextCreatedEventData? left, ContextCreatedEventData? right)

Parameters

left ContextCreatedEventData
right ContextCreatedEventData

Returns

bool