fix(core): update

This commit is contained in:
Philipp Kunz 2021-08-17 02:53:34 +02:00
parent 255bd7046e
commit 5f1f4b3c53

View File

@ -13,7 +13,7 @@ export class IncognitoBrowser {
public async start() {
this.status = 'started';
this.browser = await getEnvAwareBrowserInstance();
this.browser.addListener('disconnected', async (eventArg) => {
this.browser.on('disconnected', async (eventArg) => {
try {
this.browser.removeAllListeners();
} catch (err) {}