appium-android-driver 5.14.6 → 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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [5.14.7](https://github.com/appium/appium-android-driver/compare/v5.14.6...v5.14.7) (2023-08-28)
2
+
3
+
4
+ ### Miscellaneous Chores
5
+
6
+ * **deps-dev:** bump conventional-changelog-conventionalcommits ([#843](https://github.com/appium/appium-android-driver/issues/843)) ([d1b5079](https://github.com/appium/appium-android-driver/commit/d1b50798fb6fc3f7f28c38ea5ce112d20d8a1b7a))
7
+
1
8
  ## [5.14.6](https://github.com/appium/appium-android-driver/compare/v5.14.5...v5.14.6) (2023-08-25)
2
9
 
3
10
 
@@ -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<Chromedriver>;
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<Chromedriver>;
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,4GAiDC;;AAjDD,mHAiDC;AA1cgC,2BAAe;yBAbvB,qBAAqB"}
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<void | null>;
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,qDAsBC;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"}
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[][] | null>;
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[][] | null>;
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<string[][] | null>;
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,2FAgCC;AAED;;;GAGG;AACH,qEAFW,MAAM,2BAyJhB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,6DAPW,MAAM,YACN,MAAM,SAiChB;AAED;;;GAGG;AACH,8DAFW,MAAM,8BAgBhB"}
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,+DAyFC;;AAlUgC,2BAAe"}
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"}
@@ -1,5 +1,56 @@
1
1
  export default AndroidDriver;
2
- export class AndroidDriver extends BaseDriver<any, import("@appium/types").StringRecord, import("@appium/types").StringRecord, import("@appium/types").DefaultCreateSessionResult<any>, void, import("@appium/types").StringRecord> {
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").DriverCaps<any>)[]>;
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":";AAmCA;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAmC;IAEnC,q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;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.6",
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.11.2",
60
+ "appium-adb": "^9.14.10",
61
61
  "appium-chromedriver": "^5.2.0",
62
62
  "asyncbox": "^2.8.0",
63
63
  "axios": "^1.x",
@@ -101,7 +101,7 @@
101
101
  "android-apidemos": "^4.1.0",
102
102
  "chai": "^4.1.2",
103
103
  "chai-as-promised": "^7.1.1",
104
- "conventional-changelog-conventionalcommits": "^6.0.0",
104
+ "conventional-changelog-conventionalcommits": "^7.0.1",
105
105
  "eslint": "^7.32.0",
106
106
  "eslint-config-prettier": "^8.5.0",
107
107
  "eslint-plugin-import": "^2.26.0",