Table of Contents

Class RunScriptCommandSettings

Namespace
OpenQA.Selenium.DevTools.V130.Runtime
Assembly
WebDriver.dll

RunScript

public sealed class RunScriptCommandSettings : ICommand
Inheritance
RunScriptCommandSettings
Implements
Inherited Members

Properties

AwaitPromise

Gets or sets the awaitPromise

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

Property Value

bool?

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

ExecutionContextId

Gets or sets the executionContextId

[JsonPropertyName("executionContextId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? ExecutionContextId { get; set; }

Property Value

long?

GeneratePreview

Gets or sets the generatePreview

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

Property Value

bool?

IncludeCommandLineAPI

Gets or sets the includeCommandLineAPI

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

Property Value

bool?

ObjectGroup

Gets or sets the objectGroup

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

Property Value

string

ReturnByValue

Gets or sets the returnByValue

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

Property Value

bool?

ScriptId

Gets or sets the scriptId

[JsonPropertyName("scriptId")]
public string ScriptId { get; set; }

Property Value

string

Silent

Gets or sets the silent

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

Property Value

bool?