chore: lint
This commit is contained in:
@@ -43,7 +43,6 @@ const SCREENCAST_CONFIG: {
|
||||
maxQueueSize: 2
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* This class represents a remote browser instance.
|
||||
* It is used to allow a variety of interaction with the Playwright's browser instance.
|
||||
@@ -333,11 +332,11 @@ export class RemoteBrowser {
|
||||
this.client = await this.currentPage.context().newCDPSession(this.currentPage);
|
||||
await blocker.disableBlockingInPage(this.currentPage);
|
||||
console.log('Adblocker initialized');
|
||||
} catch (error: any) {
|
||||
} catch (error: any) {
|
||||
console.warn('Failed to initialize adblocker, continuing without it:', error.message);
|
||||
// Still need to set up the CDP session even if blocker fails
|
||||
this.client = await this.currentPage.context().newCDPSession(this.currentPage);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user