diff --git a/src/collector.ts b/src/collector.ts index e11aedd..4d96e7a 100644 --- a/src/collector.ts +++ b/src/collector.ts @@ -111,11 +111,13 @@ export const collect = async (inUrl: string, args: CollectorOptions) => { headless: args.headless, userDataDir }; + console.log(options.args); if (args.puppeteerExecutablePath) { options['executablePath'] = args.puppeteerExecutablePath; } browser = await puppeteer.launch(options); browser.on('disconnected', () => { + console.log('browser disconnected'); didBrowserDisconnect = true; });