Table of Contents

Class CallFrame

Namespace
OpenQA.Selenium.DevTools.V146.Debugger
Assembly
Selenium.WebDriver.dll

JavaScript call frame. Array of call frames form the call stack.

public sealed class CallFrame
Inheritance
CallFrame
Inherited Members

Properties

CallFrameId

Call frame identifier. This identifier is only valid while the virtual machine is paused.

[JsonPropertyName("callFrameId")]
public string CallFrameId { get; set; }

Property Value

string

CanBeRestarted

Valid only while the VM is paused and indicates whether this frame can be restarted or not. Note that a true value here does not guarantee that Debugger#restartFrame with this CallFrameId will be successful, but it is very likely.

[JsonPropertyName("canBeRestarted")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? CanBeRestarted { get; set; }

Property Value

bool?

FunctionLocation

Location in the source code.

[JsonPropertyName("functionLocation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Location? FunctionLocation { get; set; }

Property Value

Location

FunctionName

Name of the JavaScript function called on this call frame.

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

Property Value

string

Location

Location in the source code.

[JsonPropertyName("location")]
public Location Location { get; set; }

Property Value

Location

ReturnValue

The value being returned, if the function is at return point.

[JsonPropertyName("returnValue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RemoteObject? ReturnValue { get; set; }

Property Value

RemoteObject

ScopeChain

Scope chain for this call frame.

[JsonPropertyName("scopeChain")]
public Scope[] ScopeChain { get; set; }

Property Value

Scope[]

This

this object for this call frame.

[JsonPropertyName("this")]
public RemoteObject This { get; set; }

Property Value

RemoteObject

Url

JavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event.

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

Property Value

string