Table of Contents

Class SetVariableValueCommandSettings

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

Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.

public sealed class SetVariableValueCommandSettings : ICommand
Inheritance
SetVariableValueCommandSettings
Implements
Inherited Members

Properties

CallFrameId

Id of callframe that holds variable.

[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

NewValue

New variable value.

[JsonPropertyName("newValue")]
public CallArgument NewValue { get; set; }

Property Value

CallArgument

ScopeNumber

0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually.

[JsonPropertyName("scopeNumber")]
public long ScopeNumber { get; set; }

Property Value

long

VariableName

Variable name.

[JsonPropertyName("variableName")]
public string VariableName { get; set; }

Property Value

string