java.lang.Object
org.openqa.selenium.devtools.v85.runtime.model.StackTrace

public class StackTrace extends Object
Call frames for assertions or error messages.
  • Constructor Details

  • Method Details

    • getDescription

      public Optional<String> getDescription()
      String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
    • getCallFrames

      public List<CallFrame> getCallFrames()
      JavaScript function name.
    • getParent

      public Optional<StackTrace> getParent()
      Asynchronous JavaScript stack trace that preceded this stack, if available.
    • getParentId

      @Beta public Optional<StackTraceId> getParentId()
      Asynchronous JavaScript stack trace that preceded this stack, if available.