Class CallFrame
- java.lang.Object
-
- org.openqa.selenium.devtools.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, Location functionLocation, Location location, java.lang.String url, java.util.List<Scope> scopeChain, RemoteObject _this, RemoteObject returnValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallFrameId
getCallFrameId()
Call frame identifier.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.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()
JavaScript script name or url.
-
-
-
Constructor Detail
-
CallFrame
public CallFrame(CallFrameId callFrameId, java.lang.String functionName, Location functionLocation, Location location, java.lang.String url, java.util.List<Scope> scopeChain, RemoteObject _this, 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 Location getFunctionLocation()
Location in the source code.
-
getLocation
public Location getLocation()
Location in the source code.
-
getUrl
public java.lang.String getUrl()
JavaScript script name or url.
-
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 RemoteObject getReturnValue()
The value being returned, if the function is at return point.
-
-