@applitools/driver 1.3.2 → 1.3.3
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/CHANGELOG.md +4 -0
- package/dist/context.js +2 -2
- package/dist/driver.js +2 -2
- package/package.json +8 -1
package/CHANGELOG.md
CHANGED
package/dist/context.js
CHANGED
|
@@ -438,11 +438,11 @@ class Context {
|
|
|
438
438
|
return region;
|
|
439
439
|
}
|
|
440
440
|
async getCookies() {
|
|
441
|
-
var _a, _b;
|
|
441
|
+
var _a, _b, _c;
|
|
442
442
|
if (this.driver.isNative)
|
|
443
443
|
return [];
|
|
444
444
|
await this.focus();
|
|
445
|
-
return (_b = (_a = this._spec) === null ||
|
|
445
|
+
return (_c = (_b = (_a = this._spec).getCookies) === null || _b === void 0 ? void 0 : _b.call(_a, this.target, true)) !== null && _c !== void 0 ? _c : [];
|
|
446
446
|
}
|
|
447
447
|
async preserveInnerOffset() {
|
|
448
448
|
this._state.innerOffset = await this.getInnerOffset();
|
package/dist/driver.js
CHANGED
|
@@ -434,10 +434,10 @@ class Driver {
|
|
|
434
434
|
return orientation;
|
|
435
435
|
}
|
|
436
436
|
async getCookies() {
|
|
437
|
-
var _a, _b;
|
|
437
|
+
var _a, _b, _c;
|
|
438
438
|
if (this.isNative || !this.features.allCookies)
|
|
439
439
|
return [];
|
|
440
|
-
return (_b = (_a = this._spec) === null ||
|
|
440
|
+
return (_c = (_b = (_a = this._spec).getCookies) === null || _b === void 0 ? void 0 : _b.call(_a, this.target)) !== null && _c !== void 0 ? _c : [];
|
|
441
441
|
}
|
|
442
442
|
async getTitle() {
|
|
443
443
|
if (this.isNative)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/driver",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Applitools universal framework wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -36,6 +36,13 @@
|
|
|
36
36
|
"types": "./types/fake/index.d.ts"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
+
"typesVersions": {
|
|
40
|
+
"*": {
|
|
41
|
+
"fake": [
|
|
42
|
+
"./types/fake/index.d.ts"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
39
46
|
"files": [
|
|
40
47
|
"dist",
|
|
41
48
|
"types"
|