|
@@ -69,8 +69,8 @@ exports.getPageData = async options => {
|
|
|
}
|
|
}
|
|
|
if (options.browserDisableWebSecurity === undefined || options.browserDisableWebSecurity) {
|
|
if (options.browserDisableWebSecurity === undefined || options.browserDisableWebSecurity) {
|
|
|
chromeOptions.addArguments("--disable-web-security");
|
|
chromeOptions.addArguments("--disable-web-security");
|
|
|
- chromeOptions.addArguments("--no-pings");
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ chromeOptions.addArguments("--no-pings");
|
|
|
if (!optionHeadless) {
|
|
if (!optionHeadless) {
|
|
|
if (options.browserDebug) {
|
|
if (options.browserDebug) {
|
|
|
chromeOptions.addArguments("--auto-open-devtools-for-tabs");
|
|
chromeOptions.addArguments("--auto-open-devtools-for-tabs");
|