java.lang.Object
org.openqa.selenium.devtools.v141.network.model.Initiator

public class Initiator extends Object
Information about the request initiator.
  • Constructor Details

  • Method Details

    • getType

      public Initiator.Type getType()
      Type of this initiator.
    • getStack

      public Optional<StackTrace> getStack()
      Initiator JavaScript stack trace, set for Script only. Requires the Debugger domain to be enabled.
    • getUrl

      public Optional<String> getUrl()
      Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
    • getLineNumber

      public Optional<Number> getLineNumber()
      Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
    • getColumnNumber

      public Optional<Number> getColumnNumber()
      Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).
    • getRequestId

      public Optional<RequestId> getRequestId()
      Set if another request triggered this request (e.g. preflight).