fix(core): update
This commit is contained in:
@ -35,7 +35,7 @@ export class IncognitoBrowser {
|
||||
/**
|
||||
* rotate
|
||||
*/
|
||||
public async rotateBrowser () {
|
||||
public async rotateBrowser() {
|
||||
this.browser.close().catch();
|
||||
this.browser = await getEnvAwareBrowserInstance();
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ export const getEnvAwareBrowserInstance = async (
|
||||
console.log(chromeArgs);
|
||||
headlessBrowser = await plugins.puppeteer.launch({
|
||||
args: chromeArgs,
|
||||
pipe: true
|
||||
pipe: true,
|
||||
});
|
||||
|
||||
return headlessBrowser;
|
||||
|
Reference in New Issue
Block a user