Skip to main content
Version: 3.1



  • createRequestDebugInfo(request: Request<Dictionary<any>>, response?: IncomingMessage | Partial<BrowserResponseLike>, additionalFields?: Dictionary<any>): Dictionary

  • Creates a standardized debug info from request and response. This info is usually added to dataset under the hidden #debug field.


    • request: Request<Dictionary<any>>

      Request object.

    • optionalresponse: IncomingMessage | Partial<BrowserResponseLike> = {}

      Puppeteer Response or NodeJS http.IncomingMessage.

    • optionaladditionalFields: Dictionary<any> = {}

      Object containing additional fields to be added.

    Returns Dictionary