webdriverio 7.19.4 → 7.19.5
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/build/utils/index.d.ts.map +1 -1
- package/build/utils/index.js +0 -17
- package/package.json +8 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,EAAE,OAAO,EAAgB,MAAM,aAAa,CAAA;AAKxD,OAAO,KAAK,EAAE,YAAY,EAAmB,QAAQ,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAsBjH;;GAEG;AACH,eAAO,MAAM,YAAY,UAAW,SAAS,GAAG,SAAS,uCAmBxD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,QAAS,gBAAgB,QAuB3D,CAAA;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAE,IAAI,EAAE,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,CAGtG;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAE,KAAK,EAAE,GAAG,EAAE,kBAAkB,UAAO,YA0B3E;AAWD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAE,gBAAgB,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,kBAkDvE;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CACxB,KAAK,EAAE,MAAM,EACb,UAAU,UAAQ,YAKrB;AAkBD;;GAEG;AACH,wBAAsB,WAAW,CAC7B,IAAI,EAAE,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,OAAO,EAC/C,QAAQ,EAAE,QAAQ,qCAmDrB;A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MAAM,CAAC,YAShC,CAAA"}
|
package/build/utils/index.js
CHANGED
|
@@ -9,7 +9,6 @@ const http_1 = __importDefault(require("http"));
|
|
|
9
9
|
const path_1 = __importDefault(require("path"));
|
|
10
10
|
const css_value_1 = __importDefault(require("css-value"));
|
|
11
11
|
const rgb2hex_1 = __importDefault(require("rgb2hex"));
|
|
12
|
-
const get_port_1 = __importDefault(require("get-port"));
|
|
13
12
|
const grapheme_splitter_1 = __importDefault(require("grapheme-splitter"));
|
|
14
13
|
const logger_1 = __importDefault(require("@wdio/logger"));
|
|
15
14
|
const lodash_isobject_1 = __importDefault(require("lodash.isobject"));
|
|
@@ -516,25 +515,9 @@ exports.getAutomationProtocol = getAutomationProtocol;
|
|
|
516
515
|
* NOTE: this method is executed twice when running the WDIO testrunner
|
|
517
516
|
*/
|
|
518
517
|
const updateCapabilities = async (params, automationProtocol) => {
|
|
519
|
-
const caps = params.capabilities;
|
|
520
518
|
if (automationProtocol && !params.automationProtocol) {
|
|
521
519
|
params.automationProtocol = automationProtocol;
|
|
522
520
|
}
|
|
523
|
-
/**
|
|
524
|
-
* attach remote debugging port options to Firefox sessions
|
|
525
|
-
* (this will be ignored if not supported)
|
|
526
|
-
*/
|
|
527
|
-
if (automationProtocol === 'webdriver' && caps.browserName === 'firefox') {
|
|
528
|
-
if (!caps['moz:firefoxOptions']) {
|
|
529
|
-
caps['moz:firefoxOptions'] = {};
|
|
530
|
-
}
|
|
531
|
-
if (!caps['moz:firefoxOptions'].args) {
|
|
532
|
-
caps['moz:firefoxOptions'].args = [];
|
|
533
|
-
}
|
|
534
|
-
if (!caps['moz:firefoxOptions'].args.includes(constants_1.FF_REMOTE_DEBUG_ARG)) {
|
|
535
|
-
caps['moz:firefoxOptions'].args.push(constants_1.FF_REMOTE_DEBUG_ARG, (await (0, get_port_1.default)()).toString());
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
521
|
};
|
|
539
522
|
exports.updateCapabilities = updateCapabilities;
|
|
540
523
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriverio",
|
|
3
3
|
"description": "Next-gen browser and mobile automation test framework for Node.js",
|
|
4
|
-
"version": "7.19.
|
|
4
|
+
"version": "7.19.5",
|
|
5
5
|
"homepage": "https://webdriver.io",
|
|
6
6
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -57,20 +57,19 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@types/aria-query": "^5.0.0",
|
|
59
59
|
"@types/node": "^17.0.4",
|
|
60
|
-
"@wdio/config": "7.19.
|
|
60
|
+
"@wdio/config": "7.19.5",
|
|
61
61
|
"@wdio/logger": "7.19.0",
|
|
62
62
|
"@wdio/protocols": "7.19.0",
|
|
63
|
-
"@wdio/repl": "7.19.
|
|
64
|
-
"@wdio/types": "7.19.
|
|
65
|
-
"@wdio/utils": "7.19.
|
|
63
|
+
"@wdio/repl": "7.19.5",
|
|
64
|
+
"@wdio/types": "7.19.5",
|
|
65
|
+
"@wdio/utils": "7.19.5",
|
|
66
66
|
"archiver": "^5.0.0",
|
|
67
67
|
"aria-query": "^5.0.0",
|
|
68
68
|
"css-shorthand-properties": "^1.1.1",
|
|
69
69
|
"css-value": "^0.0.1",
|
|
70
|
-
"devtools": "7.19.
|
|
70
|
+
"devtools": "7.19.5",
|
|
71
71
|
"devtools-protocol": "^0.0.982423",
|
|
72
72
|
"fs-extra": "^10.0.0",
|
|
73
|
-
"get-port": "^5.1.1",
|
|
74
73
|
"grapheme-splitter": "^1.0.2",
|
|
75
74
|
"lodash.clonedeep": "^4.5.0",
|
|
76
75
|
"lodash.isobject": "^3.0.2",
|
|
@@ -82,7 +81,7 @@
|
|
|
82
81
|
"resq": "^1.9.1",
|
|
83
82
|
"rgb2hex": "0.2.5",
|
|
84
83
|
"serialize-error": "^8.0.0",
|
|
85
|
-
"webdriver": "7.19.
|
|
84
|
+
"webdriver": "7.19.5"
|
|
86
85
|
},
|
|
87
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "75af233cbaecf1aaf6a6168dfb4225f56dd21daf"
|
|
88
87
|
}
|