new(all): Custom Domain support per bot.
This commit is contained in:
parent
1d6ecfb9bc
commit
212eb825aa
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue