bt-runner 2.0.0-beta.1 → 2.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generator.js +8 -7
- package/package.json +1 -1
package/dist/generator.js
CHANGED
@@ -180,13 +180,14 @@ function writeConfig(outputPath, port) {
|
|
180
180
|
acceptSslCerts: true,
|
181
181
|
acceptInsecureCerts: true,
|
182
182
|
browserName: "chrome",
|
183
|
-
chromeOptions: {
|
183
|
+
"goog:chromeOptions": {
|
184
|
+
w3c: true,
|
184
185
|
args: [
|
185
|
-
"headless",
|
186
|
-
"disable-gpu",
|
187
|
-
"ignore-certificate-errors",
|
188
|
-
"no-sandbox",
|
189
|
-
"disable-features=NetworkService"
|
186
|
+
"--headless",
|
187
|
+
"--disable-gpu",
|
188
|
+
"--ignore-certificate-errors",
|
189
|
+
"--no-sandbox",
|
190
|
+
"--disable-features=NetworkService"
|
190
191
|
],
|
191
192
|
binary: "/usr/bin/google-chrome"
|
192
193
|
}
|
@@ -203,7 +204,7 @@ function writeConfig(outputPath, port) {
|
|
203
204
|
};
|
204
205
|
//@ts-ignore
|
205
206
|
if (process.platform === "win32" || process.platform === "win64") {
|
206
|
-
settings.test_settings.default.desiredCapabilities
|
207
|
+
settings.test_settings.default.desiredCapabilities["goog:chromeOptions"].binary =
|
207
208
|
"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe";
|
208
209
|
}
|
209
210
|
settings.webdriver.server_path = requireGlobal("chromedriver").path;
|