Class StackTrace
- java.lang.Object
-
- org.openqa.selenium.devtools.network.model.StackTrace
-
public class StackTrace extends java.lang.ObjectCall frames for assertions or error messages.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CallFrame>getCallFrames()JavaScript function name.java.lang.StringgetDescription()String label of this stack trace.StackTracegetParent()Asynchronous JavaScript stack trace that preceded this stack, if available.StackTraceIdgetParentId()Asynchronous JavaScript stack trace that preceded this stack, if available.voidsetCallFrames(java.util.List<CallFrame> callFrames)JavaScript function name.voidsetDescription(java.lang.String description)String label of this stack trace.voidsetParent(StackTrace parent)Asynchronous JavaScript stack trace that preceded this stack, if available.voidsetParentId(StackTraceId parentId)Asynchronous JavaScript stack trace that preceded this stack, if available.
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
-
setDescription
public void setDescription(java.lang.String description)
String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
-
getCallFrames
public java.util.List<CallFrame> getCallFrames()
JavaScript function name.
-
setCallFrames
public void setCallFrames(java.util.List<CallFrame> callFrames)
JavaScript function name.
-
getParent
public StackTrace getParent()
Asynchronous JavaScript stack trace that preceded this stack, if available.
-
setParent
public void setParent(StackTrace parent)
Asynchronous JavaScript stack trace that preceded this stack, if available.
-
getParentId
public StackTraceId getParentId()
Asynchronous JavaScript stack trace that preceded this stack, if available.
-
setParentId
public void setParentId(StackTraceId parentId)
Asynchronous JavaScript stack trace that preceded this stack, if available.
-
-