@applitools/driver 1.11.36 → 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.
Files changed (2) hide show
  1. package/dist/driver.js +4 -2
  2. package/package.json +6 -6
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.element({ type: 'accessibility id', selector: 'Applitools_View' }));
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.36",
3
+ "version": "1.11.37",
4
4
  "description": "Applitools universal framework wrapper",
5
5
  "keywords": [
6
6
  "applitools",
@@ -78,16 +78,16 @@
78
78
  "deps": "bongo deps",
79
79
  "preversion": "bongo preversion",
80
80
  "version": "bongo version",
81
- "postversion": "bongo postversion --skip-release-notification"
81
+ "postversion": "bongo postversion"
82
82
  },
83
83
  "dependencies": {
84
- "@applitools/logger": "1.1.47",
85
- "@applitools/snippets": "2.4.16",
86
- "@applitools/utils": "1.3.31",
84
+ "@applitools/logger": "1.1.48",
85
+ "@applitools/snippets": "2.4.17",
86
+ "@applitools/utils": "1.3.32",
87
87
  "semver": "7.3.7"
88
88
  },
89
89
  "devDependencies": {
90
- "@applitools/bongo": "^2.2.5",
90
+ "@applitools/bongo": "^3.0.1",
91
91
  "@types/node": "^12.20.55"
92
92
  },
93
93
  "engines": {