Table of Contents

Class CompileScriptCommandSettings

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

Compiles expression.

public sealed class CompileScriptCommandSettings : ICommand
Inheritance
CompileScriptCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

ExecutionContextId

Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.

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

Property Value

long?

Expression

Expression to compile.

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

Property Value

string

PersistScript

Specifies whether the compiled script should be persisted.

[JsonPropertyName("persistScript")]
public bool PersistScript { get; set; }

Property Value

bool

SourceURL

Source url to be set for the script.

[JsonPropertyName("sourceURL")]
public string SourceURL { get; set; }

Property Value

string