Class Scope
- java.lang.Object
-
- org.openqa.selenium.devtools.debugger.model.Scope
-
public class Scope extends java.lang.Object
Scope description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Scope.Type
-
Constructor Summary
Constructors Constructor Description Scope(Scope.Type type, RemoteObject object, java.lang.String name, Location startLocation, Location endLocation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
getEndLocation()
Location in the source code where scope endsjava.lang.String
getName()
RemoteObject
getObject()
Object representing the scope.Location
getStartLocation()
Location in the source code where scope startsScope.Type
getType()
Scope type.
-
-
-
Constructor Detail
-
Scope
public Scope(Scope.Type type, RemoteObject object, java.lang.String name, Location startLocation, Location endLocation)
-
-
Method Detail
-
getType
public Scope.Type getType()
Scope type.
-
getObject
public RemoteObject getObject()
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.
-
getName
public java.lang.String getName()
-
getStartLocation
public Location getStartLocation()
Location in the source code where scope starts
-
getEndLocation
public Location getEndLocation()
Location in the source code where scope ends
-
-