Class CallFrame
- java.lang.Object
-
- org.openqa.selenium.devtools.v101.debugger.model.CallFrame
-
public class CallFrame extends java.lang.Object
JavaScript call frame. Array of call frames form the call stack.
-
-
Constructor Summary
Constructors Constructor Description CallFrame(CallFrameId callFrameId, java.lang.String functionName, java.util.Optional<Location> functionLocation, Location location, java.lang.String url, java.util.List<Scope> scopeChain, RemoteObject _this, java.util.Optional<RemoteObject> returnValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CallFrameId
getCallFrameId()
Call frame identifier.java.util.Optional<Location>
getFunctionLocation()
Location in the source code.java.lang.String
getFunctionName()
Name of the JavaScript function called on this call frame.Location
getLocation()
Location in the source code.java.util.Optional<RemoteObject>
getReturnValue()
The value being returned, if the function is at return point.java.util.List<Scope>
getScopeChain()
Scope chain for this call frame.RemoteObject
getThis()
`this` object for this call frame.java.lang.String
getUrl()
Deprecated.
-
-
-
Constructor Detail
-
CallFrame
public CallFrame(CallFrameId callFrameId, java.lang.String functionName, java.util.Optional<Location> functionLocation, Location location, java.lang.String url, java.util.List<Scope> scopeChain, RemoteObject _this, java.util.Optional<RemoteObject> returnValue)
-
-
Method Detail
-
getCallFrameId
public CallFrameId getCallFrameId()
Call frame identifier. This identifier is only valid while the virtual machine is paused.
-
getFunctionName
public java.lang.String getFunctionName()
Name of the JavaScript function called on this call frame.
-
getFunctionLocation
public java.util.Optional<Location> getFunctionLocation()
Location in the source code.
-
getLocation
public Location getLocation()
Location in the source code.
-
getUrl
@Deprecated public java.lang.String getUrl()
Deprecated.JavaScript script name or url. Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously sent `Debugger.scriptParsed` event.
-
getScopeChain
public java.util.List<Scope> getScopeChain()
Scope chain for this call frame.
-
getThis
public RemoteObject getThis()
`this` object for this call frame.
-
getReturnValue
public java.util.Optional<RemoteObject> getReturnValue()
The value being returned, if the function is at return point.
-
-