@applitools/driver
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -6,2 +6,6 @@ # Change Log | ||
## 1.3.4 - 2021/11/18 | ||
- fix capabilities parsing for native apps | ||
## 1.3.3 - 2021/11/14 | ||
@@ -8,0 +12,0 @@ |
@@ -7,3 +7,5 @@ "use strict"; | ||
const info = { | ||
browserName: ((_a = capabilities.browserName) !== null && _a !== void 0 ? _a : (_b = capabilities.desired) === null || _b === void 0 ? void 0 : _b.browserName) || undefined, | ||
browserName: !capabilities.app | ||
? ((_a = capabilities.browserName) !== null && _a !== void 0 ? _a : (_b = capabilities.desired) === null || _b === void 0 ? void 0 : _b.browserName) || undefined | ||
: undefined, | ||
browserVersion: ((_c = capabilities.browserVersion) !== null && _c !== void 0 ? _c : capabilities.version) || undefined, | ||
@@ -10,0 +12,0 @@ platformName: ((_e = (_d = capabilities.platformName) !== null && _d !== void 0 ? _d : capabilities.platform) !== null && _e !== void 0 ? _e : (_f = capabilities.desired) === null || _f === void 0 ? void 0 : _f.platformName) || undefined, |
@@ -159,4 +159,4 @@ "use strict"; | ||
if (barsHeight) { | ||
this._driverInfo.statusBarHeight = Math.max(barsHeight.statusBarHeight, driverInfo.statusBarHeight); | ||
this._driverInfo.navigationBarHeight = Math.max(barsHeight.navigationBarHeight, driverInfo.navigationBarHeight); | ||
this._driverInfo.statusBarHeight = Math.max(this._driverInfo.statusBarHeight, barsHeight.statusBarHeight); | ||
this._driverInfo.navigationBarHeight = Math.max(this._driverInfo.navigationBarHeight, barsHeight.navigationBarHeight); | ||
} | ||
@@ -163,0 +163,0 @@ if (this.isAndroid) { |
{ | ||
"name": "@applitools/driver", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Applitools universal framework wrapper", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -23,3 +23,3 @@ export declare class MockDriver { | ||
executeScript(script: any, args?: any[]): Promise<any>; | ||
findElement(selector: any, rootElement: any): Promise<any>; | ||
findElement(selector: any, rootElement?: any): Promise<any>; | ||
findElements(selector: any, rootElement: any): Promise<any>; | ||
@@ -26,0 +26,0 @@ switchToFrame(reference: any): Promise<this>; |
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
131151
2427