new(all): Custom Domain support per bot.

This commit is contained in:
rodrigorodriguez 2022-10-02 15:12:44 -03:00
parent 1d6ecfb9bc
commit 212eb825aa

View file

@ -94,7 +94,7 @@ async function createBrowser(profilePath): Promise<any> {
]; ];
if (profilePath){ if (profilePath){
args.push(`--user-data-dir=${profilePath}`); args.push(`--user-data-dir=${profilePath}`);
} }
const browser = await puppeteer.launch({ const browser = await puppeteer.launch({
@ -102,7 +102,7 @@ async function createBrowser(profilePath): Promise<any> {
ignoreHTTPSErrors: true, ignoreHTTPSErrors: true,
headless: false, headless: false,
}); });
return browser return browser;
} }
async function recursiveFindInFrames(inputFrame, selector) { async function recursiveFindInFrames(inputFrame, selector) {