1
0
Эх сурвалжийг харах

always activate "--no-pings" switch

Gildas 6 жил өмнө
parent
commit
e8965c3f9a

+ 1 - 1
cli/back-ends/webdriver-chromium.js

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