webdriverio 8.28.0 → 8.28.4
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../src/commands/browser/keys.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,IAAI,CACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../src/commands/browser/keys.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,IAAI,CACtB,IAAI,EAAE,WAAW,CAAC,OAAO,EACzB,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,iBAyC3B"}
|
|
@@ -48,7 +48,13 @@ export async function keys(value) {
|
|
|
48
48
|
*/
|
|
49
49
|
const keyAction = this.action('key');
|
|
50
50
|
keySequence.forEach((value) => keyAction.down(value));
|
|
51
|
-
|
|
51
|
+
/**
|
|
52
|
+
* XCTest API only allows to send keypresses (e.g. keydown+keyup).
|
|
53
|
+
* There is no way to "split" them
|
|
54
|
+
*/
|
|
55
|
+
if (!this.isIOS) {
|
|
56
|
+
keyAction.pause(10);
|
|
57
|
+
}
|
|
52
58
|
keySequence.forEach((value) => keyAction.up(value));
|
|
53
59
|
// pass true to skip release of keys as they are already released
|
|
54
60
|
return keyAction.perform(true);
|
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.28.
|
|
4
|
+
"version": "8.28.4",
|
|
5
5
|
"homepage": "https://webdriver.io",
|
|
6
6
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"optional": true
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "fbb60e474d2565447f43016ebc7444b679f85ff1"
|
|
105
105
|
}
|