webdriverio 8.15.10 → 8.16.2

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.
@@ -1,5 +1,18 @@
1
1
  import type { TouchActions } from '../../types.js';
2
2
  /**
3
+ * :::caution Deprecation Warning
4
+ *
5
+ * The `touchAction` command is __deprecated__ and will be removed in a future version.
6
+ * We recommend to use the [`action`](/docs/api/browser/action) command instead with
7
+ * pointer type `touch`, e.g.:
8
+ *
9
+ * ```ts
10
+ * await browser.action('pointer', {
11
+ * parameters: { pointerType: 'touch' }
12
+ * })
13
+ * ```
14
+ *
15
+ * :::
3
16
  *
4
17
  * The Touch Action API provides the basis of all gestures that can be automated in Appium.
5
18
  * It is currently only available to native apps and can not be used to interact with webapps.
@@ -1 +1 @@
1
- {"version":3,"file":"touchAction.d.ts","sourceRoot":"","sources":["../../../src/commands/browser/touchAction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,wBAAgB,WAAW,CACvB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,EAAE,YAAY,iBAGxB"}
1
+ {"version":3,"file":"touchAction.d.ts","sourceRoot":"","sources":["../../../src/commands/browser/touchAction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,wBAAgB,WAAW,CACvB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,EAAE,YAAY,iBAGxB"}
@@ -1,5 +1,18 @@
1
1
  import { touchAction as touchActionCommand } from '../constant.js';
2
2
  /**
3
+ * :::caution Deprecation Warning
4
+ *
5
+ * The `touchAction` command is __deprecated__ and will be removed in a future version.
6
+ * We recommend to use the [`action`](/docs/api/browser/action) command instead with
7
+ * pointer type `touch`, e.g.:
8
+ *
9
+ * ```ts
10
+ * await browser.action('pointer', {
11
+ * parameters: { pointerType: 'touch' }
12
+ * })
13
+ * ```
14
+ *
15
+ * :::
3
16
  *
4
17
  * The Touch Action API provides the basis of all gestures that can be automated in Appium.
5
18
  * It is currently only available to native apps and can not be used to interact with webapps.
@@ -1,5 +1,18 @@
1
1
  import type { TouchActions } from '../../types.js';
2
2
  /**
3
+ * :::caution Deprecation Warning
4
+ *
5
+ * The `touchAction` command is __deprecated__ and will be removed in a future version.
6
+ * We recommend to use the [`action`](/docs/api/browser/action) command instead with
7
+ * pointer type `touch`, e.g.:
8
+ *
9
+ * ```ts
10
+ * await browser.action('pointer', {
11
+ * parameters: { pointerType: 'touch' }
12
+ * })
13
+ * ```
14
+ *
15
+ * :::
3
16
  *
4
17
  * The Touch Action API provides the basis of all gestures that can be automated in Appium.
5
18
  * It is currently only available to native apps and can not be used to interact with webapps.
@@ -1 +1 @@
1
- {"version":3,"file":"touchAction.d.ts","sourceRoot":"","sources":["../../../src/commands/element/touchAction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,wBAAgB,WAAW,CACvB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,EAAE,YAAY,iBAGxB"}
1
+ {"version":3,"file":"touchAction.d.ts","sourceRoot":"","sources":["../../../src/commands/element/touchAction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,wBAAgB,WAAW,CACvB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,OAAO,EAAE,YAAY,iBAGxB"}
@@ -1,5 +1,18 @@
1
1
  import { touchAction as touchActionCommand } from '../constant.js';
2
2
  /**
3
+ * :::caution Deprecation Warning
4
+ *
5
+ * The `touchAction` command is __deprecated__ and will be removed in a future version.
6
+ * We recommend to use the [`action`](/docs/api/browser/action) command instead with
7
+ * pointer type `touch`, e.g.:
8
+ *
9
+ * ```ts
10
+ * await browser.action('pointer', {
11
+ * parameters: { pointerType: 'touch' }
12
+ * })
13
+ * ```
14
+ *
15
+ * :::
3
16
  *
4
17
  * The Touch Action API provides the basis of all gestures that can be automated in Appium.
5
18
  * It is currently only available to native apps and can not be used to interact with webapps.
@@ -49,7 +49,7 @@ export const WDIO_DEFAULTS = {
49
49
  return;
50
50
  }
51
51
  if (!Object.values(SupportedAutomationProtocols).includes(param.toLowerCase())) {
52
- throw new Error(`Currently only "webdriver" and "devtools" is supproted as automationProtocol, you set "${param}"`);
52
+ throw new Error(`Currently only "webdriver" and "devtools" is supported as automationProtocol, you set "${param}"`);
53
53
  }
54
54
  try {
55
55
  const __dirname = dirname(fileURLToPath(import.meta.url));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "webdriverio",
3
3
  "description": "Next-gen browser and mobile automation test framework for Node.js",
4
- "version": "8.15.10",
4
+ "version": "8.16.2",
5
5
  "homepage": "https://webdriver.io",
6
6
  "author": "Christian Bromann <mail@bromann.dev>",
7
7
  "license": "MIT",
@@ -68,13 +68,13 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@types/node": "^20.1.0",
71
- "@wdio/config": "8.15.10",
71
+ "@wdio/config": "8.16.0",
72
72
  "@wdio/logger": "8.11.0",
73
73
  "@wdio/protocols": "8.14.6",
74
74
  "@wdio/repl": "8.10.1",
75
75
  "@wdio/types": "8.15.10",
76
- "@wdio/utils": "8.15.10",
77
- "archiver": "^5.0.0",
76
+ "@wdio/utils": "8.16.0",
77
+ "archiver": "^6.0.0",
78
78
  "aria-query": "^5.0.0",
79
79
  "css-shorthand-properties": "^1.1.1",
80
80
  "css-value": "^0.0.1",
@@ -90,7 +90,7 @@
90
90
  "resq": "^1.9.1",
91
91
  "rgb2hex": "0.2.5",
92
92
  "serialize-error": "^11.0.1",
93
- "webdriver": "8.15.10"
93
+ "webdriver": "8.16.0"
94
94
  },
95
95
  "peerDependencies": {
96
96
  "devtools": "^8.14.0"
@@ -100,5 +100,5 @@
100
100
  "optional": true
101
101
  }
102
102
  },
103
- "gitHead": "63a02b672216ae86a58475746a5eed5adf0d736f"
103
+ "gitHead": "103470cf452a582f9a1f3678c260575e08bf6c37"
104
104
  }