fix(core): update
This commit is contained in:
parent
255bd7046e
commit
5f1f4b3c53
@ -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) {}
|
||||
|
Loading…
Reference in New Issue
Block a user