Table of Contents

Class StackFrame

Namespace
WebDriverBiDi.Script
Assembly
WebDriverBiDi.dll

Represents a frame within a stack trace for a script.

public record StackFrame : IEquatable<StackFrame>
Inheritance
StackFrame
Implements
Inherited Members

Constructors

StackFrame(StackFrame)

protected StackFrame(StackFrame original)

Parameters

original StackFrame

Properties

ColumnNumber

Gets the column number for this stack frame.

[JsonPropertyName("columnNumber")]
[JsonRequired]
[JsonInclude]
public ulong ColumnNumber { get; }

Property Value

ulong

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

FunctionName

Gets the name of the function for this stack frame.

[JsonPropertyName("functionName")]
[JsonRequired]
[JsonInclude]
public string FunctionName { get; }

Property Value

string

LineNumber

Gets the line number for this stack frame.

[JsonPropertyName("lineNumber")]
[JsonRequired]
[JsonInclude]
public ulong LineNumber { get; }

Property Value

ulong

Url

Gets the URL for this stack frame.

[JsonPropertyName("url")]
[JsonRequired]
[JsonInclude]
public string Url { get; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(StackFrame?)

public virtual bool Equals(StackFrame? other)

Parameters

other StackFrame

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(StackFrame?, StackFrame?)

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

Parameters

left StackFrame
right StackFrame

Returns

bool

operator !=(StackFrame?, StackFrame?)

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

Parameters

left StackFrame
right StackFrame

Returns

bool