appium-uiautomator2-driver 6.7.12 → 6.7.14
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 +12 -0
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js.map +1 -1
- package/build/lib/helpers.js +2 -2
- package/build/lib/helpers.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/lib/driver.ts +2 -2
- package/lib/helpers.ts +1 -1
- package/npm-shrinkwrap.json +189 -128
- package/package.json +3 -3
package/lib/driver.ts
CHANGED
|
@@ -525,7 +525,7 @@ class AndroidUiautomator2Driver
|
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
async performSessionPreExecSetup(): Promise<StringRecord|undefined> {
|
|
528
|
+
async performSessionPreExecSetup(): Promise<StringRecord | undefined> {
|
|
529
529
|
const apiLevel = await this.adb.getApiLevel();
|
|
530
530
|
if (apiLevel < MIN_SUPPORTED_API_LEVEL) {
|
|
531
531
|
throw this.log.errorWithException('UIAutomator2 only supports Android 8.0 (Oreo) and above');
|
|
@@ -679,7 +679,7 @@ class AndroidUiautomator2Driver
|
|
|
679
679
|
|
|
680
680
|
await this.performSessionExecution(capsWithSessionInfo);
|
|
681
681
|
|
|
682
|
-
const deviceInfoPromise: Promise<Uiautomator2DeviceDetails|EmptyObject> = (async () => {
|
|
682
|
+
const deviceInfoPromise: Promise<Uiautomator2DeviceDetails | EmptyObject> = (async () => {
|
|
683
683
|
try {
|
|
684
684
|
return await this.getDeviceDetails();
|
|
685
685
|
} catch (e) {
|
package/lib/helpers.ts
CHANGED