Class CallFrame
- java.lang.Object
-
- org.openqa.selenium.devtools.debugger.model.CallFrame
-
public class CallFrame extends java.lang.ObjectJavaScript 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 CallFrameIdgetCallFrameId()Call frame identifier.LocationgetFunctionLocation()Location in the source code.java.lang.StringgetFunctionName()Name of the JavaScript function called on this call frame.LocationgetLocation()Location in the source code.RemoteObjectgetReturnValue()The value being returned, if the function is at return point.java.util.List<Scope>getScopeChain()Scope chain for this call frame.RemoteObjectgetThis()`this` object for this call frame.java.lang.StringgetUrl()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.
-
-