appium-android-driver 5.14.7 → 5.14.8
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/build/lib/commands/context.d.ts +2 -3
- package/build/lib/commands/context.d.ts.map +1 -1
- package/build/lib/commands/element.d.ts +1 -1
- package/build/lib/commands/element.d.ts.map +1 -1
- package/build/lib/commands/performance.d.ts +3 -3
- package/build/lib/commands/performance.d.ts.map +1 -1
- package/build/lib/commands/touch.d.ts +1 -1
- package/build/lib/commands/touch.d.ts.map +1 -1
- package/build/lib/driver.d.ts +104 -6
- package/build/lib/driver.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -86,9 +86,8 @@ export namespace helpers {
|
|
|
86
86
|
function dismissChromeWelcome(): Promise<void>;
|
|
87
87
|
function startChromeSession(): Promise<void>;
|
|
88
88
|
function isChromedriverAutodownloadEnabled(): boolean;
|
|
89
|
-
function setupNewChromedriver(opts: any, curDeviceId: any, adb: any, context?: null): Promise<
|
|
89
|
+
function setupNewChromedriver(opts: any, curDeviceId: any, adb: any, context?: null): Promise<any>;
|
|
90
90
|
}
|
|
91
|
-
export function setupNewChromedriver(opts: any, curDeviceId: any, adb: any, context?: null): Promise<
|
|
91
|
+
export function setupNewChromedriver(opts: any, curDeviceId: any, adb: any, context?: null): Promise<any>;
|
|
92
92
|
declare let extensions: {};
|
|
93
|
-
import Chromedriver from 'appium-chromedriver';
|
|
94
93
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../lib/commands/context.js"],"names":[],"mappings":";;;;;UAwDc,MAAM;;;;;aACN,MAAM;;;;;;;;;;WAIL,UAAa;;;IAzC5B,2CAIC;IAED,qCAGC;IAED,8CAqBC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IAEH;;;;OAIG;IACH,gDAQC;;;IAED,wDAMC;IAED,uEAoBC;IAUD,sCAEC;IAED,sCAEC;IAED,iCAEC;IAGD,mFAuEC;IAGD,0CAKC;IAGD,yDAcC;IAID,kDAcC;IAED,uDAEC;IAED,2CAIC;IAED,+CAiBC;IAED,6CAqCC;IAuED,sDAOC;IAED,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../lib/commands/context.js"],"names":[],"mappings":";;;;;UAwDc,MAAM;;;;;aACN,MAAM;;;;;;;;;;WAIL,UAAa;;;IAzC5B,2CAIC;IAED,qCAGC;IAED,8CAqBC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IAEH;;;;OAIG;IACH,gDAQC;;;IAED,wDAMC;IAED,uEAoBC;IAUD,sCAEC;IAED,sCAEC;IAED,iCAEC;IAGD,mFAuEC;IAGD,0CAKC;IAGD,yDAcC;IAID,kDAcC;IAED,uDAEC;IAED,2CAIC;IAED,+CAiBC;IAED,6CAqCC;IAuED,sDAOC;IAED,mGAiDC;;AAjDD,0GAiDC;AA1cgC,2BAAe"}
|
|
@@ -9,7 +9,7 @@ export namespace commands {
|
|
|
9
9
|
function replaceValue(keys: any, elementId: any): Promise<any>;
|
|
10
10
|
function setValueImmediate(keys: any, elementId: any): Promise<void>;
|
|
11
11
|
function getText(elementId: any): Promise<any>;
|
|
12
|
-
function clear(elementId: any): Promise<
|
|
12
|
+
function clear(elementId: any): Promise<any>;
|
|
13
13
|
function click(elementId: any): Promise<any>;
|
|
14
14
|
function getLocation(elementId: any): Promise<any>;
|
|
15
15
|
function getLocationInView(elementId: any): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../../../lib/commands/element.js"],"names":[],"mappings":";;IAOA,oEAGC;IAED,+CAEC;IAED,4DAEC;IAED,0DAEC;IAED,2DAEC;IA4BD,2DAEC;IAED,+DAEC;IAED,qEAWC;IAED,+CAEC;IAED,
|
|
1
|
+
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../../../lib/commands/element.js"],"names":[],"mappings":";;IAOA,oEAGC;IAED,+CAEC;IAED,4DAEC;IAED,0DAEC;IAED,2DAEC;IA4BD,2DAEC;IAED,+DAEC;IAED,qEAWC;IAED,+CAEC;IAED,6CAsBC;IAED,6CAEC;IAED,mDAEC;IAED,yDAEC;IAED,+CAEC;IAED,sDAEC;IAED,qFAIC;IAED,iEAIC;IAED,+DAIC;IAED,iEAIC;IAED,iGAEC;IAED,kFAYC;;;IAvID,qFAcC;IAED;;;;;OAKG;IACH,sDAEC;;AA/CgC,2BAAe"}
|
|
@@ -68,12 +68,12 @@ export const CPU_KEYS: string[];
|
|
|
68
68
|
export const MEMORY_KEYS: string[];
|
|
69
69
|
export const BATTERY_KEYS: string[];
|
|
70
70
|
export const NETWORK_KEYS: string[][];
|
|
71
|
-
export function getMemoryInfo(packageName: any, retries?: number): Promise<any
|
|
71
|
+
export function getMemoryInfo(packageName: any, retries?: number): Promise<any>;
|
|
72
72
|
/**
|
|
73
73
|
* @this {AndroidDriver}
|
|
74
74
|
* @param {number} retries
|
|
75
75
|
*/
|
|
76
|
-
export function getNetworkTrafficInfo(this: AndroidDriver, retries?: number): Promise<any
|
|
76
|
+
export function getNetworkTrafficInfo(this: AndroidDriver, retries?: number): Promise<any>;
|
|
77
77
|
/**
|
|
78
78
|
* Return the CPU information related to the given packageName.
|
|
79
79
|
* It raises an exception if the dumped CPU information did not include the given packageName
|
|
@@ -97,5 +97,5 @@ export function getCPUInfo(this: AndroidDriver, packageName: string, retries?: n
|
|
|
97
97
|
* @this {AndroidDriver}
|
|
98
98
|
* @param {number} retries
|
|
99
99
|
*/
|
|
100
|
-
export function getBatteryInfo(this: AndroidDriver, retries?: number): Promise<
|
|
100
|
+
export function getBatteryInfo(this: AndroidDriver, retries?: number): Promise<any>;
|
|
101
101
|
//# sourceMappingURL=performance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"performance.d.ts","sourceRoot":"","sources":["../../../lib/commands/performance.js"],"names":[],"mappings":";;;;;iBAgZc,MAAM;;;;;cACN,aAAa,GAAG,SAAS,GAAG,YAAY,GAAG,aAAa;;;IAxCtE,6CAEC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,6FAcC;IAED;;;;;OAKG;IAEH;;;;;;;;;;;;;;;;;;;OAmBG;IACH,mFAGC;;AAzZD;;;;;GAKG;AAdH,gCAAoC;AAEpC,mCAME;AAPF,oCAA+B;AAL/B,sCAGE;AAyFF,
|
|
1
|
+
{"version":3,"file":"performance.d.ts","sourceRoot":"","sources":["../../../lib/commands/performance.js"],"names":[],"mappings":";;;;;iBAgZc,MAAM;;;;;cACN,aAAa,GAAG,SAAS,GAAG,YAAY,GAAG,aAAa;;;IAxCtE,6CAEC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,6FAcC;IAED;;;;;OAKG;IAEH;;;;;;;;;;;;;;;;;;;OAmBG;IACH,mFAGC;;AAzZD;;;;;GAKG;AAdH,gCAAoC;AAEpC,mCAME;AAPF,oCAA+B;AAL/B,sCAGE;AAyFF,gFAgCC;AAED;;;GAGG;AACH,qEAFW,MAAM,gBAyJhB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,6DAPW,MAAM,YACN,MAAM,SAiChB;AAED;;;GAGG;AACH,8DAFW,MAAM,gBAgBhB"}
|
|
@@ -24,7 +24,7 @@ export namespace helpers {
|
|
|
24
24
|
function doTouchDrag(gestures: any): Promise<any>;
|
|
25
25
|
function fixRelease(gestures: any): Promise<any>;
|
|
26
26
|
function performGesture(gesture: any): Promise<any>;
|
|
27
|
-
function parseTouch(gestures: any, multi: any): Promise<any
|
|
27
|
+
function parseTouch(gestures: any, multi: any): Promise<any>;
|
|
28
28
|
}
|
|
29
29
|
declare let extensions: {};
|
|
30
30
|
//# sourceMappingURL=touch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"touch.d.ts","sourceRoot":"","sources":["../../../lib/commands/touch.js"],"names":[],"mappings":";;IA+BA,6DAwBC;IAmGD;;;;;;;;OA0BC;IAED,mDAwDC;IA8FD,wEAUC;IAED;;;;;OAKG;IACH,yEAcC;;;IAjTD,kDA4BC;IAKD,iDA4CC;IAGD,oDAaC;IAwFD
|
|
1
|
+
{"version":3,"file":"touch.d.ts","sourceRoot":"","sources":["../../../lib/commands/touch.js"],"names":[],"mappings":";;IA+BA,6DAwBC;IAmGD;;;;;;;;OA0BC;IAED,mDAwDC;IA8FD,wEAUC;IAED;;;;;OAKG;IACH,yEAcC;;;IAjTD,kDA4BC;IAKD,iDA4CC;IAGD,oDAaC;IAwFD,6DAyFC;;AAlUgC,2BAAe"}
|
package/build/lib/driver.d.ts
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
export default AndroidDriver;
|
|
2
|
-
|
|
2
|
+
declare const AndroidDriver_base: import("@appium/base-driver/node_modules/@appium/types").DriverClass<import("@appium/base-driver/node_modules/@appium/types").Driver<{
|
|
3
|
+
readonly platformName: {
|
|
4
|
+
readonly presence: true;
|
|
5
|
+
readonly isString: true;
|
|
6
|
+
};
|
|
7
|
+
readonly app: {
|
|
8
|
+
readonly isString: true;
|
|
9
|
+
};
|
|
10
|
+
readonly deviceName: {
|
|
11
|
+
readonly isString: true;
|
|
12
|
+
};
|
|
13
|
+
readonly platformVersion: {
|
|
14
|
+
readonly isString: true;
|
|
15
|
+
};
|
|
16
|
+
readonly newCommandTimeout: {
|
|
17
|
+
readonly isNumber: true;
|
|
18
|
+
};
|
|
19
|
+
readonly automationName: {
|
|
20
|
+
readonly isString: true;
|
|
21
|
+
};
|
|
22
|
+
readonly autoLaunch: {
|
|
23
|
+
readonly isBoolean: true;
|
|
24
|
+
};
|
|
25
|
+
readonly udid: {
|
|
26
|
+
readonly isString: true;
|
|
27
|
+
};
|
|
28
|
+
readonly orientation: {
|
|
29
|
+
readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
|
|
30
|
+
};
|
|
31
|
+
readonly autoWebview: {
|
|
32
|
+
readonly isBoolean: true;
|
|
33
|
+
};
|
|
34
|
+
readonly noReset: {
|
|
35
|
+
readonly isBoolean: true;
|
|
36
|
+
};
|
|
37
|
+
readonly fullReset: {
|
|
38
|
+
readonly isBoolean: true;
|
|
39
|
+
};
|
|
40
|
+
readonly language: {
|
|
41
|
+
readonly isString: true;
|
|
42
|
+
};
|
|
43
|
+
readonly locale: {
|
|
44
|
+
readonly isString: true;
|
|
45
|
+
};
|
|
46
|
+
readonly eventTimings: {
|
|
47
|
+
readonly isBoolean: true;
|
|
48
|
+
};
|
|
49
|
+
readonly printPageSourceOnFindFailure: {
|
|
50
|
+
readonly isBoolean: true;
|
|
51
|
+
};
|
|
52
|
+
}, import("@appium/base-driver/node_modules/@appium/types").StringRecord>, import("@appium/base-driver/node_modules/@appium/types").DriverStatic>;
|
|
53
|
+
export class AndroidDriver extends AndroidDriver_base {
|
|
3
54
|
static newMethodMap: {
|
|
4
55
|
readonly '/session/:sessionId/timeouts/implicit_wait': {
|
|
5
56
|
readonly POST: {
|
|
@@ -393,14 +444,62 @@ export class AndroidDriver extends BaseDriver<any, import("@appium/types").Strin
|
|
|
393
444
|
sessionChromedrivers: {};
|
|
394
445
|
jwpProxyActive: boolean;
|
|
395
446
|
jwpProxyAvoid: (string | RegExp)[][];
|
|
396
|
-
settings: DeviceSettings<
|
|
397
|
-
ignoreUnimportantViews: boolean;
|
|
398
|
-
}>;
|
|
447
|
+
settings: DeviceSettings<boolean>;
|
|
399
448
|
chromedriver: any;
|
|
400
449
|
apkStrings: {};
|
|
401
450
|
unlocker: typeof import("./unlock-helpers").helpers;
|
|
402
451
|
curContext: any;
|
|
403
|
-
createSession(...args: any[]): Promise<(string | import("@appium/types").
|
|
452
|
+
createSession(...args: any[]): Promise<(string | Partial<import("@appium/base-driver/node_modules/@appium/types").ConstraintsToCaps<{
|
|
453
|
+
readonly platformName: {
|
|
454
|
+
readonly presence: true;
|
|
455
|
+
readonly isString: true;
|
|
456
|
+
};
|
|
457
|
+
readonly app: {
|
|
458
|
+
readonly isString: true;
|
|
459
|
+
};
|
|
460
|
+
readonly deviceName: {
|
|
461
|
+
readonly isString: true;
|
|
462
|
+
};
|
|
463
|
+
readonly platformVersion: {
|
|
464
|
+
readonly isString: true;
|
|
465
|
+
};
|
|
466
|
+
readonly newCommandTimeout: {
|
|
467
|
+
readonly isNumber: true;
|
|
468
|
+
};
|
|
469
|
+
readonly automationName: {
|
|
470
|
+
readonly isString: true;
|
|
471
|
+
};
|
|
472
|
+
readonly autoLaunch: {
|
|
473
|
+
readonly isBoolean: true;
|
|
474
|
+
};
|
|
475
|
+
readonly udid: {
|
|
476
|
+
readonly isString: true;
|
|
477
|
+
};
|
|
478
|
+
readonly orientation: {
|
|
479
|
+
readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
|
|
480
|
+
};
|
|
481
|
+
readonly autoWebview: {
|
|
482
|
+
readonly isBoolean: true;
|
|
483
|
+
};
|
|
484
|
+
readonly noReset: {
|
|
485
|
+
readonly isBoolean: true;
|
|
486
|
+
};
|
|
487
|
+
readonly fullReset: {
|
|
488
|
+
readonly isBoolean: true;
|
|
489
|
+
};
|
|
490
|
+
readonly language: {
|
|
491
|
+
readonly isString: true;
|
|
492
|
+
};
|
|
493
|
+
readonly locale: {
|
|
494
|
+
readonly isString: true;
|
|
495
|
+
};
|
|
496
|
+
readonly eventTimings: {
|
|
497
|
+
readonly isBoolean: true;
|
|
498
|
+
};
|
|
499
|
+
readonly printPageSourceOnFindFailure: {
|
|
500
|
+
readonly isBoolean: true;
|
|
501
|
+
};
|
|
502
|
+
}> & void>)[]>;
|
|
404
503
|
useUnlockHelperApp: boolean | undefined;
|
|
405
504
|
adb: any;
|
|
406
505
|
isEmulator(): boolean;
|
|
@@ -425,6 +524,5 @@ export class AndroidDriver extends BaseDriver<any, import("@appium/types").Strin
|
|
|
425
524
|
getProxyAvoidList(sessionId: any): (string | RegExp)[][];
|
|
426
525
|
canProxy(sessionId: any): boolean;
|
|
427
526
|
}
|
|
428
|
-
import { BaseDriver } from 'appium/driver';
|
|
429
527
|
import { DeviceSettings } from 'appium/driver';
|
|
430
528
|
//# sourceMappingURL=driver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAmC;IAEnC,qDA0BC;IAhBC,0BAA+C;IAC/C,yBAA8B;IAC9B,wBAA2B;IAC3B,qCAAsC;IACtC,kCACoE;IACpE,kBAAwB;IACxB,eAAoB;IACpB,oDAAgC;IAOhC,gBAA2C;IAG7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkIC;IA/FG,wCAA6D;IA8B7D,SASE;IA0DN,sBAEC;IAED,wCAaC;IAED,2BAGC;IAED,+BAEC;IAED,sDAIC;IAED,qCA6EC;IA1EC,gBAA+D;IAoB3D,iDAAuC;IAU3C,qEAA8F;IA8ChG,iCAYC;IAED,yBAwDC;IAED,iCAKC;IAED,qCAKC;IAGD,2DAEC;IAED,+BAwDC;IAED,yCA4BC;IAED,uBAKC;IAED,wCAQC;IAED,qCAIC;IAED,yDAIC;IAED,kCAKC;CACF;+BA9gB0C,eAAe"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-android-driver",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.8",
|
|
4
4
|
"description": "Android UiAutomator and Chrome support for Appium",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"appium",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"singleQuote": true
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"appium-adb": "^9.
|
|
60
|
+
"appium-adb": "^9.14.10",
|
|
61
61
|
"appium-chromedriver": "^5.2.0",
|
|
62
62
|
"asyncbox": "^2.8.0",
|
|
63
63
|
"axios": "^1.x",
|