@applitools/driver 1.11.35 → 1.11.37
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/driver.js +4 -2
- package/package.json +9 -12
package/dist/driver.js
CHANGED
|
@@ -345,9 +345,11 @@ class Driver {
|
|
|
345
345
|
if (!this.isNative)
|
|
346
346
|
return null;
|
|
347
347
|
this._logger.log('Broker url extraction is started');
|
|
348
|
-
(_a = (_b = this._state).nmlElement) !== null && _a !== void 0 ? _a : (_b.nmlElement = await this.
|
|
349
|
-
if (!this._state.nmlElement)
|
|
348
|
+
(_a = (_b = this._state).nmlElement) !== null && _a !== void 0 ? _a : (_b.nmlElement = await this.waitFor({ type: 'accessibility id', selector: 'Applitools_View' }, { timeout: 10000 }));
|
|
349
|
+
if (!this._state.nmlElement) {
|
|
350
|
+
this._logger.log('Broker url extraction is failed due to absence of nml element');
|
|
350
351
|
return null;
|
|
352
|
+
}
|
|
351
353
|
try {
|
|
352
354
|
let result;
|
|
353
355
|
do {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/driver",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.37",
|
|
4
4
|
"description": "Applitools universal framework wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -73,25 +73,22 @@
|
|
|
73
73
|
"scripts": {
|
|
74
74
|
"lint": "node ../../node_modules/.bin/eslint '**/*.ts'",
|
|
75
75
|
"build": "node ../../node_modules/.bin/tsc --project ./tsconfig.build.json",
|
|
76
|
-
"test": "
|
|
77
|
-
"test:sanity": "yarn test
|
|
78
|
-
"test:unit": "mocha --no-timeouts -r ts-node/register ./test/unit/*.spec.ts",
|
|
76
|
+
"test": "node ../../node_modules/.bin/mocha './test/**/*.spec.ts'",
|
|
77
|
+
"test:sanity": "yarn test",
|
|
79
78
|
"deps": "bongo deps",
|
|
80
79
|
"preversion": "bongo preversion",
|
|
81
80
|
"version": "bongo version",
|
|
82
|
-
"postversion": "bongo postversion
|
|
81
|
+
"postversion": "bongo postversion"
|
|
83
82
|
},
|
|
84
83
|
"dependencies": {
|
|
85
|
-
"@applitools/logger": "1.1.
|
|
86
|
-
"@applitools/snippets": "2.4.
|
|
87
|
-
"@applitools/utils": "1.3.
|
|
84
|
+
"@applitools/logger": "1.1.48",
|
|
85
|
+
"@applitools/snippets": "2.4.17",
|
|
86
|
+
"@applitools/utils": "1.3.32",
|
|
88
87
|
"semver": "7.3.7"
|
|
89
88
|
},
|
|
90
89
|
"devDependencies": {
|
|
91
|
-
"@applitools/bongo": "^
|
|
92
|
-
"@types/
|
|
93
|
-
"@types/node": "12",
|
|
94
|
-
"mocha": "^10.0.0"
|
|
90
|
+
"@applitools/bongo": "^3.0.1",
|
|
91
|
+
"@types/node": "^12.20.55"
|
|
95
92
|
},
|
|
96
93
|
"engines": {
|
|
97
94
|
"node": ">=12.13.0"
|