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
originalContextCreatedEventData
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
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
objobject
Returns
Equals(BrowsingContextInfo?)
public override sealed bool Equals(BrowsingContextInfo? other)
Parameters
otherBrowsingContextInfo
Returns
Equals(ContextCreatedEventData?)
public virtual bool Equals(ContextCreatedEventData? other)
Parameters
otherContextCreatedEventData
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ContextCreatedEventData?, ContextCreatedEventData?)
public static bool operator ==(ContextCreatedEventData? left, ContextCreatedEventData? right)
Parameters
leftContextCreatedEventDatarightContextCreatedEventData
Returns
operator !=(ContextCreatedEventData?, ContextCreatedEventData?)
public static bool operator !=(ContextCreatedEventData? left, ContextCreatedEventData? right)
Parameters
leftContextCreatedEventDatarightContextCreatedEventData