Type alias Config

Config: {
    WebSocket?: any;
    authorization?: string;
    baseUrl?: string;
    clientId: string;
    clientSecret: string;
    engineSecret: string;
    fetch?: any;
}

Configuration for the task

The same configuration can be used for all tasks

The client ID and client secret can be obtained from the API Keys tab in the settings.

The engine secret can be any arbitrary string, however to use the same browser session across multiple tasks, the same engine secret must be used.

If WebSocket is not globally defined, it must be provided in the config. The same applies to fetch.

Type declaration

  • Optional WebSocket?: any
  • Optional authorization?: string
  • Optional baseUrl?: string
  • clientId: string
  • clientSecret: string
  • engineSecret: string
  • Optional fetch?: any