Table of Contents

Class Scope

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

Scope description.

public sealed class Scope
Inheritance
Scope
Inherited Members

Properties

EndLocation

Location in the source code where scope ends

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

Property Value

Location

Name

name

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

Property Value

string

Object

Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.

[JsonPropertyName("object")]
public RemoteObject Object { get; set; }

Property Value

RemoteObject

StartLocation

Location in the source code where scope starts

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

Property Value

Location

Type

Scope type.

[JsonPropertyName("type")]
public ScopeTypeValues Type { get; set; }

Property Value

ScopeTypeValues