java.lang.Object
org.openqa.selenium.devtools.v85.debugger.model.Scope

public class Scope extends Object
Scope description.
  • Constructor Details

  • Method Details

    • 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 Optional<String> getName()
    • getStartLocation

      public Optional<Location> getStartLocation()
      Location in the source code where scope starts
    • getEndLocation

      public Optional<Location> getEndLocation()
      Location in the source code where scope ends