firefox: fix CDP connection

This commit is contained in:
CanadaHonk 2022-12-14 18:11:12 +00:00
parent 9c54cc16d5
commit 21ff554297

View File

@ -4,7 +4,7 @@ import { spawn } from 'child_process';
let CDP; let CDP;
try { try {
CDP = await import('chrome-remote-interface'); CDP = (await import('chrome-remote-interface')).default;
} catch { } catch {
console.warn('Dependencies for Firefox are not installed!'); console.warn('Dependencies for Firefox are not installed!');
} }