@applitools/driver
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -6,2 +6,6 @@ # Change Log | ||
## 1.3.3 - 2021/11/14 | ||
- do not throw if `getCookies` method is missed in spec driver | ||
## 1.3.2 - 2021/11/14 | ||
@@ -8,0 +12,0 @@ |
@@ -441,7 +441,7 @@ "use strict"; | ||
async getCookies() { | ||
var _a, _b; | ||
var _a, _b, _c; | ||
if (this.driver.isNative) | ||
return []; | ||
await this.focus(); | ||
return (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.getCookies(this.target, true)) !== null && _b !== void 0 ? _b : []; | ||
return (_c = (_b = (_a = this._spec).getCookies) === null || _b === void 0 ? void 0 : _b.call(_a, this.target, true)) !== null && _c !== void 0 ? _c : []; | ||
} | ||
@@ -448,0 +448,0 @@ async preserveInnerOffset() { |
@@ -437,6 +437,6 @@ "use strict"; | ||
async getCookies() { | ||
var _a, _b; | ||
var _a, _b, _c; | ||
if (this.isNative || !this.features.allCookies) | ||
return []; | ||
return (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.getCookies(this.target)) !== null && _b !== void 0 ? _b : []; | ||
return (_c = (_b = (_a = this._spec).getCookies) === null || _b === void 0 ? void 0 : _b.call(_a, this.target)) !== null && _c !== void 0 ? _c : []; | ||
} | ||
@@ -443,0 +443,0 @@ async getTitle() { |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -39,2 +39,9 @@ "keywords": [ | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"fake": [ | ||
"./types/fake/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
@@ -41,0 +48,0 @@ "dist", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
131015