Table of Contents

Class EvaluateOnCallFrameCommandSettings

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

Evaluates expression on a given call frame.

public sealed class EvaluateOnCallFrameCommandSettings : ICommand
Inheritance
EvaluateOnCallFrameCommandSettings
Implements
Inherited Members

Properties

CallFrameId

Call frame identifier to evaluate on.

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

Property Value

string

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Expression

Expression to evaluate.

[JsonPropertyName("expression")]
public string Expression { get; set; }

Property Value

string

GeneratePreview

Whether preview should be generated for the result.

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

Property Value

bool?

IncludeCommandLineAPI

Specifies whether command line API should be available to the evaluated expression, defaults to false.

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

Property Value

bool?

ObjectGroup

String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup).

[JsonPropertyName("objectGroup")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ObjectGroup { get; set; }

Property Value

string

ReturnByValue

Whether the result is expected to be a JSON object that should be sent by value.

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

Property Value

bool?

Silent

In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.

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

Property Value

bool?

ThrowOnSideEffect

Whether to throw an exception if side effect cannot be ruled out during evaluation.

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

Property Value

bool?

Timeout

Terminate execution after timing out (number of milliseconds).

[JsonPropertyName("timeout")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? Timeout { get; set; }

Property Value

double?