firefox: fix CDP connection
This commit is contained in:
parent
9c54cc16d5
commit
21ff554297
@ -4,7 +4,7 @@ import { spawn } from 'child_process';
|
||||
|
||||
let CDP;
|
||||
try {
|
||||
CDP = await import('chrome-remote-interface');
|
||||
CDP = (await import('chrome-remote-interface')).default;
|
||||
} catch {
|
||||
console.warn('Dependencies for Firefox are not installed!');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user