firefox: fix CDP connection
This commit is contained in:
parent
9c54cc16d5
commit
21ff554297
@ -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!');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user