interface ScraperOptions { urls: string[]; puppeteerOptions?: any; addons: Addon[]; /** * The interval in ms to run the scraper. * @default 60000 */ interval?: number; } interface Addon { /** * Unique name for this addon */ name: string; /** * Whether the test should be ran with and without this addon * @default false */ twice?: boolean; /** * When to run the addon * @default "before" */ when?: "before" | "after"; run: (browser: any, page: any, URL: string) => Promise | any; } interface ExporterOptions { port: number; } interface WsceConfig { scraper: ScraperOptions; exporter: ExporterOptions; } export { WsceConfig };