fix(core): update
This commit is contained in:
@ -28,6 +28,7 @@ export class IncognitoBrowser {
|
||||
*/
|
||||
public async stop() {
|
||||
this.status = 'stopped';
|
||||
plugins.treeKill(this.browser.process().pid);
|
||||
await this.browser.close();
|
||||
}
|
||||
|
||||
|
@ -11,5 +11,6 @@ export { smartdelay, smartenv };
|
||||
|
||||
// third party scope
|
||||
import puppeteer from 'puppeteer';
|
||||
import treeKill from 'tree-kill';
|
||||
|
||||
export { puppeteer };
|
||||
export { puppeteer, treeKill };
|
||||
|
Reference in New Issue
Block a user