@applitools/spec-driver-selenium 1.3.14 → 1.3.17
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/spec-driver.js +7 -5
- package/package.json +3 -3
package/dist/spec-driver.js
CHANGED
|
@@ -399,11 +399,13 @@ async function build({ selenium, ...env }) {
|
|
|
399
399
|
desiredCapabilities[browserOptionsName] = browserOptions;
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
if (
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
402
|
+
if (browser === 'chrome') {
|
|
403
|
+
if (appium) {
|
|
404
|
+
desiredCapabilities['appium:chromeOptions'] = { w3c: false, ...desiredCapabilities['appium:chromeOptions'] };
|
|
405
|
+
}
|
|
406
|
+
else if (process.env.APPLITOOLS_SELENIUM_MAJOR_VERSION === '3') {
|
|
407
|
+
desiredCapabilities['goog:chromeOptions'] = { w3c: false, ...desiredCapabilities['goog:chromeOptions'] };
|
|
408
|
+
}
|
|
407
409
|
}
|
|
408
410
|
const builder = new Builder().withCapabilities(desiredCapabilities);
|
|
409
411
|
if (url && !attach)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/spec-driver-selenium",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.17",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"selenium",
|
|
6
6
|
"selenium-webdriver",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@applitools/types": "1.5.
|
|
65
|
+
"@applitools/types": "1.5.8",
|
|
66
66
|
"@applitools/utils": "1.3.10"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@applitools/api-extractor": "^1.2.9",
|
|
70
70
|
"@applitools/bongo": "2.1.6",
|
|
71
71
|
"@applitools/scripts": "1.1.0",
|
|
72
|
-
"@applitools/test-utils": "1.4.
|
|
72
|
+
"@applitools/test-utils": "1.4.3",
|
|
73
73
|
"@types/mocha": "^9.1.1",
|
|
74
74
|
"@types/node": "12",
|
|
75
75
|
"@types/selenium-webdriver": "^4.1.1",
|