fix(core): update

This commit is contained in:
2021-11-07 15:58:45 +01:00
parent 4b1f058a21
commit 797cac672b
7 changed files with 2508 additions and 1451 deletions

View File

@ -35,7 +35,7 @@ export class IncognitoBrowser {
/**
* rotate
*/
public async rotateBrowser () {
public async rotateBrowser() {
this.browser.close().catch();
this.browser = await getEnvAwareBrowserInstance();
}

View File

@ -25,7 +25,7 @@ export const getEnvAwareBrowserInstance = async (
console.log(chromeArgs);
headlessBrowser = await plugins.puppeteer.launch({
args: chromeArgs,
pipe: true
pipe: true,
});
return headlessBrowser;