fix(core): update
This commit is contained in:
@ -29,12 +29,12 @@ export const getEnvAwareBrowserInstance = async (
|
||||
headless: true,
|
||||
...(() => {
|
||||
const returnObject: any = {};
|
||||
const googleChrome = plugins.smartshell.which.sync('google-chrome')
|
||||
if(googleChrome) {
|
||||
returnObject.executablePath = googleChrome
|
||||
}
|
||||
const googleChrome = plugins.smartshell.which.sync('google-chrome');
|
||||
if (googleChrome) {
|
||||
returnObject.executablePath = googleChrome;
|
||||
}
|
||||
return returnObject;
|
||||
})()
|
||||
})(),
|
||||
});
|
||||
|
||||
return headlessBrowser;
|
||||
|
Reference in New Issue
Block a user