Class ContextDestroyedEventArgs
- Namespace
- WebDriverBiDi.BrowsingContext
- Assembly
- WebDriverBiDi.dll
Object containing event data for the browsingContext.contextDestroyed event.
public record ContextDestroyedEventArgs : WebDriverBiDiEventArgs, IEquatable<WebDriverBiDiEventArgs>, IEquatable<ContextDestroyedEventArgs>
- Inheritance
-
ContextDestroyedEventArgs
- Implements
- Inherited Members
Constructors
ContextDestroyedEventArgs(BrowsingContextInfo)
Initializes a new instance of the ContextDestroyedEventArgs class.
public ContextDestroyedEventArgs(BrowsingContextInfo info)
Parameters
infoBrowsingContextInfoThe BrowsingContextInfo describing the destroyed browsing context.
ContextDestroyedEventArgs(ContextDestroyedEventArgs)
protected ContextDestroyedEventArgs(ContextDestroyedEventArgs original)
Parameters
originalContextDestroyedEventArgs
Properties
BrowsingContextId
Gets the browsing context ID of the browsing context.
public string BrowsingContextId { get; }
Property Value
Children
Gets the list of the child browsing contexts of the browsing context, or null if the child contexts were not enumerated. An empty list means the context was enumerated and has no children.
public IList<BrowsingContextInfo>? Children { get; }
Property Value
ClientWindowId
Gets the ID of the client window of this browsing context.
public string ClientWindowId { get; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
OriginalOpener
Gets the browsing context ID of the original opener of this browsing context.
public string? OriginalOpener { get; }
Property Value
Parent
Gets the browsing context ID of the parent browsing context.
public string? Parent { get; }
Property Value
Url
Gets the URL of the browsing context.
public string Url { get; }
Property Value
UserContextId
Gets the user context ID of the browsing context.
public string UserContextId { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ContextDestroyedEventArgs?)
public virtual bool Equals(ContextDestroyedEventArgs? other)
Parameters
Returns
Equals(WebDriverBiDiEventArgs?)
public override sealed bool Equals(WebDriverBiDiEventArgs? other)
Parameters
otherWebDriverBiDiEventArgs
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 ==(ContextDestroyedEventArgs?, ContextDestroyedEventArgs?)
public static bool operator ==(ContextDestroyedEventArgs? left, ContextDestroyedEventArgs? right)
Parameters
Returns
operator !=(ContextDestroyedEventArgs?, ContextDestroyedEventArgs?)
public static bool operator !=(ContextDestroyedEventArgs? left, ContextDestroyedEventArgs? right)