appium-espresso-driver 4.1.8 → 4.1.10

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,15 @@
1
+ ## [4.1.10](https://github.com/appium/appium-espresso-driver/compare/v4.1.9...v4.1.10) (2025-05-30)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * fix typos ([#1066](https://github.com/appium/appium-espresso-driver/issues/1066)) ([a771933](https://github.com/appium/appium-espresso-driver/commit/a771933148a086d01a16eb7ba07d0d1112829e04))
6
+
7
+ ## [4.1.9](https://github.com/appium/appium-espresso-driver/compare/v4.1.8...v4.1.9) (2025-05-30)
8
+
9
+ ### Bug Fixes
10
+
11
+ * elementId is required in `mobile: clickAction` ([#1065](https://github.com/appium/appium-espresso-driver/issues/1065)) ([640065e](https://github.com/appium/appium-espresso-driver/commit/640065ef6a7078394bd3b1327b7917f45aac76b7))
12
+
1
13
  ## [4.1.8](https://github.com/appium/appium-espresso-driver/compare/v4.1.7...v4.1.8) (2025-05-30)
2
14
 
3
15
  ### Miscellaneous Chores
package/README.md CHANGED
@@ -1151,7 +1151,7 @@ Gives a possibility to invoke methods from your application under test.
1151
1151
  Name | Type | Required | Description | Example
1152
1152
  --- | --- | --- | --- | ---
1153
1153
  elementId | string | yes if `target` is set to `element` | UDID of the element to perform the action on. | 123456-7890-3453-24234243
1154
- target | string | yes | Select a target for the backdoor mathod execution: `activity`, `application`, `element` | activity
1154
+ target | string | yes | Select a target for the backdoor method execution: `activity`, `application`, `element` | activity
1155
1155
  methods | `Array<Map>` | yes | Methods chain to execute | See [Backdoor Extension Usage](#backdoor-extension-usage)
1156
1156
 
1157
1157
  #### Returns
@@ -1326,7 +1326,7 @@ Name | Type | Required | Description | Example
1326
1326
  --- | --- | --- | --- | ---
1327
1327
  content | string | yes | Base64-encoded clipboard payload. | YXBwaXVt
1328
1328
  contentType | string | no | The only supported and the default value is `plaintext` | plaintext
1329
- lable | string | no | Optinal label to identify the current clipboard payload. | yolo
1329
+ label | string | no | Optional label to identify the current clipboard payload. | yolo
1330
1330
 
1331
1331
  ### mobile: hideKeyboard
1332
1332
 
@@ -1399,9 +1399,9 @@ Missing values tell the driver to not change the corresponding service's state.
1399
1399
 
1400
1400
  Name | Type | Required | Description | Example
1401
1401
  --- | --- | --- | --- | ---
1402
- wifi | booolean | no | Either to enable or disable Wi-Fi. | false
1403
- data | booolean | no | Either to enable or disable mobile data. | false
1404
- airplaneMode | booolean | no | Either to enable or disable Airplane Mode. | false
1402
+ wifi | boolean | no | Either to enable or disable Wi-Fi. | false
1403
+ data | boolean | no | Either to enable or disable mobile data. | false
1404
+ airplaneMode | boolean | no | Either to enable or disable Airplane Mode. | false
1405
1405
 
1406
1406
  ### mobile: getAppStrings
1407
1407
 
@@ -1573,7 +1573,7 @@ Returns `true` if GPS is enabled on the device under test. Available since drive
1573
1573
 
1574
1574
  ### mobile: getPerformanceDataTypes
1575
1575
 
1576
- Fetches the list of supported perfomance data types that could be used as `dataType` argument value to [mobile: getPerformanceData](#mobile-getperformancedata) extension. Available since driver version 2.23
1576
+ Fetches the list of supported performance data types that could be used as `dataType` argument value to [mobile: getPerformanceData](#mobile-getperformancedata) extension. Available since driver version 2.23
1577
1577
 
1578
1578
  #### Returned Result
1579
1579
 
@@ -1643,11 +1643,11 @@ This functionality is only supported since Android 10.
1643
1643
 
1644
1644
  Name | Type | Required | Description | Example
1645
1645
  --- | --- | --- | --- | ---
1646
- displayId | number or string | no | Display identifier to take a screenshot for. If not provided then all display screenshots are going to be returned. If no matches were found then an error is thrown. Actual display identifiers could be retrived from the `adb shell dumpsys SurfaceFlinger --display-id` command output. | 1
1646
+ displayId | number or string | no | Display identifier to take a screenshot for. If not provided then all display screenshots are going to be returned. If no matches were found then an error is thrown. Actual display identifiers could be retrieved from the `adb shell dumpsys SurfaceFlinger --display-id` command output. | 1
1647
1647
 
1648
1648
  #### Returns
1649
1649
 
1650
- A dictionary where each key is the diplay identifier and the value has the following keys:
1650
+ A dictionary where each key is the display identifier and the value has the following keys:
1651
1651
  - `id`: The same display identifier
1652
1652
  - `name`: Display name
1653
1653
  - `isDefault`: Whether this display is the default one
@@ -1732,7 +1732,7 @@ the [appium:injectedImageProperties capability](#emulator-android-virtual-device
1732
1732
  in order to prepare the emulator for image injection if this extension is used
1733
1733
  on a newly created or resetted device.
1734
1734
 
1735
- There is also a possiblity to perform a manual configuration of the necessary preconditions
1735
+ There is also a possibility to perform a manual configuration of the necessary preconditions
1736
1736
  if you don't want to restart the emulator on session startup. For that replace the content
1737
1737
  of the `Toren1BD.posters` file located in `$ANDROID_HOME/emulator/resources` folder with the
1738
1738
  following text:
@@ -1796,9 +1796,9 @@ more details.
1796
1796
 
1797
1797
  * If you observe Espresso server crash on startup and various exceptions about missing class/method in the logcat output then consider updating [appium:espressoBuildConfig](#espresso-build-config) capability with module versions that match your application under test. This might require some experimentation, as different apps have different module requirements. Check, for example, [issue #812](https://github.com/appium/appium-espresso-driver/issues/812). Another solution might be
1798
1798
  to [integrate](#consuming-espresso-server-as-library) Espresso Server with the application under test in form of a library.
1799
- * If you experince issues with application activities being not found or not starting then consider checking [How To Troubleshoot Activities Startup](docs/activity-startup.md) article.
1799
+ * If you experience issues with application activities being not found or not starting then consider checking [How To Troubleshoot Activities Startup](docs/activity-startup.md) article.
1800
1800
  * Espresso requires the debug APK and app-under-test APK (AUT) to have the same signature. It automatically signs the AUT with the `io.appium.espressoserver.test` signature. This may be problematic if you're using an outdated Android SDK tools and/or an outdated Java version.
1801
- * If there are problems starting a session, set the capability `forceEspressoRebuild` to `true` and retry. This will force rebuilding of Espresso Server. If the following session startup is successfull, set it back to `false`, so the session startup performance is back to normal.
1801
+ * If there are problems starting a session, set the capability `forceEspressoRebuild` to `true` and retry. This will force rebuilding of Espresso Server. If the following session startup is successful, set it back to `false`, so the session startup performance is back to normal.
1802
1802
  * If you experience session startup failures due to exceptions similar to `Resources$NotFoundException` then try to adjust your ProGuard rules:
1803
1803
  ```
1804
1804
  -dontwarn com.google.android.material.**
@@ -9,7 +9,7 @@ export function getClipboard(this: import("../driver").EspressoDriver): Promise<
9
9
  * @param {string} content Base64-encoded clipboard payload
10
10
  * @param {'plaintext'} [contentType] Only a single
11
11
  * content type is supported, which is 'plaintext'
12
- * @param {string} [label] Optinal label to identify the current
12
+ * @param {string} [label] Optional label to identify the current
13
13
  * clipboard payload
14
14
  * @returns {Promise<void>}
15
15
  */
@@ -17,7 +17,7 @@ async function getClipboard() {
17
17
  * @param {string} content Base64-encoded clipboard payload
18
18
  * @param {'plaintext'} [contentType] Only a single
19
19
  * content type is supported, which is 'plaintext'
20
- * @param {string} [label] Optinal label to identify the current
20
+ * @param {string} [label] Optional label to identify the current
21
21
  * clipboard payload
22
22
  * @returns {Promise<void>}
23
23
  */
@@ -42,7 +42,7 @@ class JavaVersionCheck {
42
42
  }
43
43
  async fix() {
44
44
  return `Upgrade to Java ${this.MIN_JAVA_VERSION}+ or update ` +
45
- `the JAVA_HOME environment variable if it is already instsalled`;
45
+ `the JAVA_HOME environment variable if it is already installed`;
46
46
  }
47
47
  hasAutofix() {
48
48
  return false;
@@ -1 +1 @@
1
- {"version":3,"file":"required-checks.js","sourceRoot":"","sources":["../../../lib/doctor/required-checks.js"],"names":[],"mappings":";;;;;;AAAA,iEAA+D;AAC/D,+CAAoC;AACpC,4CAAoD;AACpD,0DAA6B;AAEhB,QAAA,gBAAgB,GAAG,8BAAY,CAAC,gBAAgB,CAAC;AACjD,QAAA,aAAa,GAAG,8BAAY,CAAC,aAAa,CAAC;AAC3C,QAAA,kBAAkB,GAAG,8BAAY,CAAC,kBAAkB,CAAC;AACrD,QAAA,eAAe,GAAG,8BAAY,CAAC,eAAe,CAAC;AAE5D,wDAAwD;AACxD,MAAa,gBAAgB;IAA7B;QACE,qBAAgB,GAAG,EAAE,CAAC;QACtB,yBAAoB,GAAG,mCAAmC,CAAC;IAoC7D,CAAC;IAlCC,KAAK,CAAC,QAAQ;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MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,IAAA,mBAAI,EAAC,YAAY,EAAE,CAAC,2BAA2B,EAAE,UAAU,CAAC,CAAC,CAAC;YACrF,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACxD,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,gBAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QAC9E,CAAC;QACD,IAAI,CAAC,YAAY,EAAE,CAAC;YAClB,OAAO,gBAAM,CAAC,GAAG,CAAC,6CAA6C,CAAC,CAAC;QACnE,CAAC;QACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC/C,OAAO,QAAQ,GAAG,IAAI,CAAC,gBAAgB;YACrC,CAAC,CAAC,gBAAM,CAAC,GAAG,CAAC,2BAA2B,YAAY,CAAC,CAAC,CAAC,iCAAiC,CAAC;YACzF,CAAC,CAAC,gBAAM,CAAC,EAAE,CAAC,oCAAoC,QAAQ,OAAO,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;IAC7F,CAAC;IAED,KAAK,CAAC,GAAG;QACP,OAAO,mBAAmB,IAAI,CAAC,gBAAgB,cAAc;YAC3D,+DAA+D,CAAC;IACpE,CAAC;IAED,UAAU;QACR,OAAO,KAAK,CAAC;IACf,CAAC;IAED,UAAU;QACR,OAAO,KAAK,CAAC;IACf,CAAC;CACF;AAtCD,4CAsCC;AACY,QAAA,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAC"}
@@ -412,7 +412,8 @@ export declare class EspressoDriver extends AndroidDriver implements ExternalDri
412
412
  readonly 'mobile: clickAction': {
413
413
  readonly command: "mobileClickAction";
414
414
  readonly params: {
415
- readonly optional: readonly ["elementId", "tapper", "coordinatesProvider", "precisionDescriber", "inputDevice", "buttonState"];
415
+ readonly required: readonly ["elementId"];
416
+ readonly optional: readonly ["tapper", "coordinatesProvider", "precisionDescriber", "inputDevice", "buttonState"];
416
417
  };
417
418
  };
418
419
  readonly 'mobile: deviceInfo': {
@@ -907,7 +908,7 @@ export declare class EspressoDriver extends AndroidDriver implements ExternalDri
907
908
  * in the archived file.
908
909
  *
909
910
  * @param {string} appPath The path to app file.
910
- * @returns {Promise<string>} Retuns the path to an unzipped app file path.
911
+ * @returns {Promise<string>} Returns the path to an unzipped app file path.
911
912
  * @throws Raise an exception if the zip did not have any SUPPORTED_EXTENSIONS packages.
912
913
  */
913
914
  unzipApp(appPath: string): Promise<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,UAAU,EACV,cAAc,EACd,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAKzD,OAAO,EAAE,cAAc,EAAgB,MAAM,mBAAmB,CAAC;AAEjE,OAAO,KAAK,iBAAiB,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,WAAW,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,aAAa,EAAS,MAAM,uBAAuB,CAAC;AAO7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE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
305
  * in the archived file.
306
306
  *
307
307
  * @param {string} appPath The path to app file.
308
- * @returns {Promise<string>} Retuns the path to an unzipped app file path.
308
+ * @returns {Promise<string>} Returns the path to an unzipped app file path.
309
309
  * @throws Raise an exception if the zip did not have any SUPPORTED_EXTENSIONS packages.
310
310
  */
311
311
  async unzipApp(appPath) {
@@ -22,7 +22,8 @@ export declare const executeMethodMap: {
22
22
  readonly 'mobile: clickAction': {
23
23
  readonly command: "mobileClickAction";
24
24
  readonly params: {
25
- readonly optional: readonly ["elementId", "tapper", "coordinatesProvider", "precisionDescriber", "inputDevice", "buttonState"];
25
+ readonly required: readonly ["elementId"];
26
+ readonly optional: readonly ["tapper", "coordinatesProvider", "precisionDescriber", "inputDevice", "buttonState"];
26
27
  };
27
28
  };
28
29
  readonly 'mobile: deviceInfo': {
@@ -1 +1 @@
1
- {"version":3,"file":"execute-method-map.d.ts","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkPa,CAAC"}
1
+ {"version":3,"file":"execute-method-map.d.ts","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoPa,CAAC"}
@@ -44,8 +44,10 @@ exports.executeMethodMap = {
44
44
  'mobile: clickAction': {
45
45
  command: 'mobileClickAction',
46
46
  params: {
47
- optional: [
47
+ required: [
48
48
  'elementId',
49
+ ],
50
+ optional: [
49
51
  'tapper',
50
52
  'coordinatesProvider',
51
53
  'precisionDescriber',
@@ -1 +1 @@
1
- {"version":3,"file":"execute-method-map.js","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":";;;AACA,iEAAsD;AAEzC,QAAA,gBAAgB,GAAG;IAC9B,GAAG,qCAAa,CAAC,gBAAgB;IAEjC,eAAe,EAAE;QACf,OAAO,EAAE,aAAa;QACtB,MAAM,EAAE;YACN,QAAQ,EAAE;gBACR,WAAW;aACZ;YACD,QAAQ,EAAE;gBACR,WAA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E,gBAAgB;QACzB,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,SAAS,CAAC;YACrB,QAAQ,EAAE;gBACR,WAAW;gBACX,OAAO;gBACP,aAAa;aACd;SACF;KACF;IAED,sBAAsB,EAAE;QACtB,OAAO,EAAE,oBAAoB;QAC7B,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,SAAS,CAAC;YACrB,QAAQ,EAAE;gBACR,aAAa;gBACb,OAAO;aACR;SACF;KACF;IACD,sBAAsB,EAAE;QACtB,OAAO,EAAE,oBAAoB;KAC9B;IAED,sBAAsB,EAAE;QACtB,OAAO,EAAE,oBAAoB;QAC7B,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,QAAQ,EAAE;gBACR,MAAM;gBACN,YAAY;aACb;SACF;KACF;IACD,qBAAqB,EAAE;QACrB,OAAO,EAAE,mBAAmB;QAC5B,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,QAAQ,EAAE,CAAC,MAAM,CAAC;SACnB;KACF;IAED,uBAAuB,EAAE;QACvB,OAAO,EAAE,qBAAqB;QAC9B,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,aAAa,CAAC;YACzB,QAAQ,EAAE;gBACR,QAAQ;gBACR,yBAAyB;gBACzB,2BAA2B;aAC5B;SACF;KACF;CACuC,CAAC"}
1
+ {"version":3,"file":"execute-method-map.js","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":";;;AACA,iEAAsD;AAEzC,QAAA,gBAAgB,GAAG;IAC9B,GAAG,qCAAa,CAAC,gBAAgB;IAEjC,eAAe,EAAE;QACf,OAAO,EAAE,aAAa;QACtB,MAAM,EAAE;YACN,QAAQ,EAAE;gBACR,WAAW;aACZ;YACD,QAAQ,EAAE;gBACR,WAAW;gBACX,QAAQ;gBACR,kBAAkB;gBAClB,gBAAgB;gBAChB,oBAAoB;aACrB;SACF;KACF;IACD,sBAAsB,EAAE;QACtB,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EAAE;gBACR,WAAW;gBACX,OAAO;gBACP,aAAa;aACd;SACF;KACF;IAED,sBAAsB,EAAE;QACtB,OAAO,EAAE,oBAAoB;QAC7B,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,SAAS,CAAC;YACrB,QAAQ,EAAE;gBACR,aAAa;gBACb,OAAO;aACR;SACF;KACF;IACD,sBAAsB,EAAE;QACtB,OAAO,EAAE,oBAAoB;KAC9B;IAED,sBAAsB,EAAE;QACtB,OAAO,EAAE,oBAAoB;QAC7B,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,QAAQ,EAAE;gBACR,MAAM;gBACN,YAAY;aACb;SACF;KACF;IACD,qBAAqB,EAAE;QACrB,OAAO,EAAE,mBAAmB;QAC5B,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,QAAQ,EAAE,CAAC,MAAM,CAAC;SACnB;KACF;IAED,uBAAuB,EAAE;QACvB,OAAO,EAAE,qBAAqB;QAC9B,MAAM,EAAE;YACN,QAAQ,EAAE,CAAC,aAAa,CAAC;YACzB,QAAQ,EAAE;gBACR,QAAQ;gBACR,yBAAyB;gBACzB,2BAA2B;aAC5B;SACF;KACF;CACuC,CAAC"}
@@ -44,7 +44,7 @@ fun makeActivityOptions(activityOptions: Map<String, Any?>?): ActivityOptions {
44
44
  }
45
45
  } catch (e: NumberFormatException) {
46
46
  throw IllegalArgumentException(
47
- "Can't covert '$value' to Int", e)
47
+ "Can't convert '$value' to Int", e)
48
48
  }
49
49
  }
50
50
  )
@@ -2,6 +2,6 @@ package io.appium.espressoserver.lib.helpers
2
2
 
3
3
  // This value is updated automatically by the NPM versioning script
4
4
  // It should be in sync with the NPM module version from package.json
5
- private const val VERSION = "4.1.8"
5
+ private const val VERSION = "4.1.10"
6
6
 
7
7
  fun getEspressoServerVersion() = VERSION
@@ -32,7 +32,7 @@ private fun dispatchKeyEvent(dispatcherAdapter: W3CActionAdapter,
32
32
 
33
33
  // 6. Let charCode, keyCode and which be the implementation-specific values of the charCode,
34
34
  // keyCode and which properties.
35
- // Omiting this for now until there's an implementation that needs it.
35
+ // Omitting this for now until there's an implementation that needs it.
36
36
 
37
37
  // 7-10: Set the alt, shift, ctrl meta key state
38
38
  dispatcherAdapter.logger.info(String.format(
@@ -42,7 +42,7 @@ class ProcessorTest {
42
42
  action.type = ActionType.POINTER_DOWN
43
43
  try {
44
44
  processNullAction(action, InputSourceType.NONE, "any1", 0)
45
- fail("expected exception was not occured.")
45
+ fail("expected exception was not occurred.")
46
46
  } catch (ie: InvalidArgumentException) {
47
47
  assertTrue(ie.message!!.contains("must be type 'pause'"))
48
48
  }
@@ -65,7 +65,7 @@ class ProcessorTest {
65
65
  action.duration = -1f
66
66
  try {
67
67
  processPauseAction(action, InputSourceType.NONE, "any3", 0)
68
- fail("expected exception was not occured.")
68
+ fail("expected exception was not occurred.")
69
69
  } catch (ie: InvalidArgumentException) {
70
70
  assertTrue(ie.message!!.contains("'duration' be greater than or equal to 0"))
71
71
  }
@@ -117,7 +117,7 @@ class ProcessorTest {
117
117
  action.duration = -1f
118
118
  try {
119
119
  processPointerMoveAction(action, InputSourceType.POINTER, "any", 0)
120
- fail("expected exception was not occured.")
120
+ fail("expected exception was not occurred.")
121
121
  } catch (ie: InvalidArgumentException) {
122
122
  assertTrue(ie.message!!.contains("'duration' be greater than or equal to 0"))
123
123
  }
@@ -143,7 +143,7 @@ class ProcessorTest {
143
143
  action.button = -100
144
144
  try {
145
145
  processPointerUpOrDownAction(action, InputSourceType.POINTER, "any", 0)
146
- fail("expected exception was not occured.")
146
+ fail("expected exception was not occurred.")
147
147
  } catch (ie: InvalidArgumentException) {
148
148
  assertTrue(ie.message!!.contains("property 'button' must be greater than or equal to 0"))
149
149
  }
@@ -156,7 +156,7 @@ class ProcessorTest {
156
156
  action.type = ActionType.POINTER_DOWN
157
157
  try {
158
158
  processKeyAction(action, InputSourceType.KEY, "any", 0)
159
- fail("expected exception was not occured.")
159
+ fail("expected exception was not occurred.")
160
160
  } catch (ie: InvalidArgumentException) {
161
161
  assertTrue(ie.message!!.contains("has an invalid type"))
162
162
  }
@@ -182,7 +182,7 @@ class ProcessorTest {
182
182
  action.value = "asdfafsd"
183
183
  try {
184
184
  processKeyAction(action, InputSourceType.KEY, "any", 0)
185
- fail("expected exception was not occured.")
185
+ fail("expected exception was not occurred.")
186
186
  } catch (ie: InvalidArgumentException) {
187
187
  assertTrue(ie.message!!.contains("Must be a unicode point"))
188
188
  }
@@ -208,7 +208,7 @@ class ProcessorTest {
208
208
  action.type = ActionType.KEY_DOWN
209
209
  try {
210
210
  processPointerAction(action, pointerInputSource!!, "any", 0)
211
- fail("expected exception was not occured.")
211
+ fail("expected exception was not occurred.")
212
212
  } catch (ie: InvalidArgumentException) {
213
213
  assertTrue(ie.message!!.contains("has an invalid type"))
214
214
  }
@@ -63,7 +63,7 @@ public class MobileBackdoorMethodTest {
63
63
  method.setArgs(args);
64
64
  try {
65
65
  method.getArgumentTypes();
66
- fail("expected exception was not occured.");
66
+ fail("expected exception was not occurred.");
67
67
  } catch (Exception e) {
68
68
  assertTrue(e.getMessage().contains("Class not found: java.lang.Lol"));
69
69
  }
@@ -81,7 +81,7 @@ public class MobileBackdoorMethodTest {
81
81
  method.setArgs(args);
82
82
  try {
83
83
  method.getArguments();
84
- fail("expected exception was not occured.");
84
+ fail("expected exception was not occurred.");
85
85
  } catch (Exception e) {
86
86
  assertTrue(e.getMessage().contains("For input string: \"lol\""));
87
87
  }
@@ -20,7 +20,7 @@ class WebAtomTest {
20
20
  }
21
21
 
22
22
  @Test
23
- fun `should parse JSON primtive as web atom with name and no args`() {
23
+ fun `should parse JSON primitive as web atom with name and no args`() {
24
24
  val jsonObject = JsonPrimitive("clearElement")
25
25
  val webAtom = WebAtomDeserializer().deserialize(jsonObject, null, null)
26
26
  assertEquals(webAtom.name, "clearElement")
@@ -14,7 +14,7 @@ export async function getClipboard () {
14
14
  * @param {string} content Base64-encoded clipboard payload
15
15
  * @param {'plaintext'} [contentType] Only a single
16
16
  * content type is supported, which is 'plaintext'
17
- * @param {string} [label] Optinal label to identify the current
17
+ * @param {string} [label] Optional label to identify the current
18
18
  * clipboard payload
19
19
  * @returns {Promise<void>}
20
20
  */
@@ -37,7 +37,7 @@ export class JavaVersionCheck {
37
37
 
38
38
  async fix() {
39
39
  return `Upgrade to Java ${this.MIN_JAVA_VERSION}+ or update ` +
40
- `the JAVA_HOME environment variable if it is already instsalled`;
40
+ `the JAVA_HOME environment variable if it is already installed`;
41
41
  }
42
42
 
43
43
  hasAutofix() {
package/lib/driver.ts CHANGED
@@ -292,7 +292,7 @@ export class EspressoDriver extends AndroidDriver implements ExternalDriver<
292
292
  * in the archived file.
293
293
  *
294
294
  * @param {string} appPath The path to app file.
295
- * @returns {Promise<string>} Retuns the path to an unzipped app file path.
295
+ * @returns {Promise<string>} Returns the path to an unzipped app file path.
296
296
  * @throws Raise an exception if the zip did not have any SUPPORTED_EXTENSIONS packages.
297
297
  */
298
298
  async unzipApp (appPath: string): Promise<string> {
@@ -44,8 +44,10 @@ export const executeMethodMap = {
44
44
  'mobile: clickAction': {
45
45
  command: 'mobileClickAction',
46
46
  params: {
47
- optional: [
47
+ required: [
48
48
  'elementId',
49
+ ],
50
+ optional: [
49
51
  'tapper',
50
52
  'coordinatesProvider',
51
53
  'precisionDescriber',
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "appium-espresso-driver",
3
- "version": "4.1.8",
3
+ "version": "4.1.10",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-espresso-driver",
9
- "version": "4.1.8",
9
+ "version": "4.1.10",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "appium-adb": "^12.12.0",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "4.1.8",
10
+ "version": "4.1.10",
11
11
  "author": "Appium Contributors",
12
12
  "license": "Apache-2.0",
13
13
  "repository": {