Class ConsoleAPICalled

java.lang.Object
io.webfolder.cdp.event.runtime.ConsoleAPICalled

public class ConsoleAPICalled extends Object
Issued when console API was called
  • Constructor Details

    • ConsoleAPICalled

      public ConsoleAPICalled()
  • Method Details

    • getType

      public ConsoleApiCallType getType()
      Type of the call.
    • setType

      public void setType(ConsoleApiCallType type)
      Type of the call.
    • getArgs

      public List<RemoteObject> getArgs()
      Call arguments.
    • setArgs

      public void setArgs(List<RemoteObject> args)
      Call arguments.
    • getExecutionContextId

      public Integer getExecutionContextId()
      Identifier of the context where the call was made.
    • setExecutionContextId

      public void setExecutionContextId(Integer executionContextId)
      Identifier of the context where the call was made.
    • getTimestamp

      public Double getTimestamp()
      Call timestamp.
    • setTimestamp

      public void setTimestamp(Double timestamp)
      Call timestamp.
    • getStackTrace

      public StackTrace getStackTrace()
      Stack trace captured when the call was made. The async stack chain is automatically reported for the following call types: assert, error, trace, warning. For other types the async call chain can be retrieved using Debugger.getStackTrace and stackTrace.parentId field.
    • setStackTrace

      public void setStackTrace(StackTrace stackTrace)
      Stack trace captured when the call was made. The async stack chain is automatically reported for the following call types: assert, error, trace, warning. For other types the async call chain can be retrieved using Debugger.getStackTrace and stackTrace.parentId field.
    • getContext

      public String getContext()
      Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
    • setContext

      public void setContext(String context)
      Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.