Class CallFrame
java.lang.Object
org.openqa.selenium.devtools.v119.debugger.model.CallFrame
JavaScript call frame. Array of call frames form the call stack.
-
Constructor Summary
ConstructorDescriptionCallFrame
(CallFrameId callFrameId, String functionName, Optional<Location> functionLocation, Location location, String url, List<Scope> scopeChain, RemoteObject _this, Optional<RemoteObject> returnValue, Optional<Boolean> canBeRestarted) -
Method Summary
Modifier and TypeMethodDescriptionCall frame identifier.Valid only while the VM is paused and indicates whether this frame can be restarted or not.Location in the source code.Name of the JavaScript function called on this call frame.Location in the source code.The value being returned, if the function is at return point.Scope chain for this call frame.getThis()
`this` object for this call frame.getUrl()
Deprecated.
-
Constructor Details
-
CallFrame
public CallFrame(CallFrameId callFrameId, String functionName, Optional<Location> functionLocation, Location location, String url, List<Scope> scopeChain, RemoteObject _this, Optional<RemoteObject> returnValue, Optional<Boolean> canBeRestarted)
-
-
Method Details
-
getCallFrameId
Call frame identifier. This identifier is only valid while the virtual machine is paused. -
getFunctionName
Name of the JavaScript function called on this call frame. -
getFunctionLocation
Location in the source code. -
getLocation
Location in the source code. -
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
Scope chain for this call frame. -
getThis
`this` object for this call frame. -
getReturnValue
The value being returned, if the function is at return point. -
getCanBeRestarted
Valid only while the VM is paused and indicates whether this frame can be restarted or not. Note that a `true` value here does not guarantee that Debugger#restartFrame with this CallFrameId will be successful, but it is very likely.
-