Options
All
  • Public
  • Public/Protected
  • All
Menu

the results of your IPageRequest.overseerScript are stored in this format.

Sent to you in two situations: Either sent directly if the renderType:"automation" is chosen, or in the PageResponse.content.automation node if outputAsJson:true is set. If neither situation is true, you will not be sent this information.

Hierarchy

  • IAutomationResult

Index

Properties

Properties

errors

errors: Array<{ details?: any; message: string; timestamp: string }>

all errors encountered by the automation process will be shown here. If you want these errors to result in a page rendering failure, be sure to set IRequestSettings.stopOnError to true

logs

logs: Array<{ time: string; value: any }>

any calls to page.meta.log() will be shown here

renders

renders: { data: string; encoding: "base64" | "utf-8"; length: number; path?: string; timestamp: string; type: "pdf" | "png" | "jpeg" | "html" | "plainText"; url: string }[]

Any call to a page.render function will have it's results stored here, in chronological order.

storage

storage: Record<string, any>

any calls to page.meta.store.set() will have it's final key/value shown here.