@applitools/driver 1.5.5 → 1.5.6
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 +2 -2
package/dist/driver.js
CHANGED
|
@@ -122,10 +122,12 @@ class Driver {
|
|
|
122
122
|
return (_b = (_a = this._driverInfo) === null || _a === void 0 ? void 0 : _a.isMobile) !== null && _b !== void 0 ? _b : false;
|
|
123
123
|
}
|
|
124
124
|
get isIOS() {
|
|
125
|
-
|
|
125
|
+
var _a;
|
|
126
|
+
return ((_a = this.platformName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'ios';
|
|
126
127
|
}
|
|
127
128
|
get isAndroid() {
|
|
128
|
-
|
|
129
|
+
var _a;
|
|
130
|
+
return ((_a = this.platformName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'android';
|
|
129
131
|
}
|
|
130
132
|
get isIE() {
|
|
131
133
|
return /(internet explorer|ie)/i.test(this.browserName);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/driver",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
4
4
|
"description": "Applitools universal framework wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"applitools",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@applitools/utils": "1.2.13"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"@applitools/
|
|
81
|
+
"@applitools/bongo": "^2.0.0",
|
|
82
82
|
"@types/mocha": "^9.0.0",
|
|
83
83
|
"@types/node": "^16.3.3",
|
|
84
84
|
"@typescript-eslint/eslint-plugin": "^4.28.3",
|