@midscene/ios 1.10.2-beta-20260706032158.0 → 1.10.3
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/dist/es/bin.mjs +1 -6
- package/dist/es/cli.mjs +2 -7
- package/dist/es/index.mjs +1 -6
- package/dist/lib/bin.js +1 -6
- package/dist/lib/cli.js +2 -7
- package/dist/lib/index.js +1 -6
- package/package.json +5 -5
- package/static/index.html +1 -1
- package/static/static/js/{905.8d12588e.js → 445.884e7c8e.js} +6 -4
- package/static/static/js/{905.8d12588e.js.map → 445.884e7c8e.js.map} +1 -1
- package/static/static/js/{index.4b541d73.js → index.e5706ed1.js} +154 -150
- package/static/static/js/index.e5706ed1.js.map +1 -0
- package/static/static/js/index.4b541d73.js.map +0 -1
- /package/static/static/js/{905.8d12588e.js.LICENSE.txt → 445.884e7c8e.js.LICENSE.txt} +0 -0
- /package/static/static/js/{index.4b541d73.js.LICENSE.txt → index.e5706ed1.js.LICENSE.txt} +0 -0
package/dist/es/bin.mjs
CHANGED
|
@@ -868,15 +868,10 @@ ScreenSize: ${size.width}x${size.height} (DPR: ${size.scale})
|
|
|
868
868
|
async typeText(text, options) {
|
|
869
869
|
if (!text) return;
|
|
870
870
|
const shouldAutoDismissKeyboard = options?.autoDismissKeyboard ?? this.options?.autoDismissKeyboard ?? true;
|
|
871
|
-
const typeDelay = options?.keyboardTypeDelay ?? this.options?.keyboardTypeDelay;
|
|
872
871
|
debugDevice(`Typing text: "${text}"`);
|
|
873
872
|
try {
|
|
874
873
|
await sleep(200);
|
|
875
|
-
|
|
876
|
-
await this.wdaBackend.typeText(ch);
|
|
877
|
-
await sleep(typeDelay);
|
|
878
|
-
}
|
|
879
|
-
else await this.wdaBackend.typeText(text);
|
|
874
|
+
await this.wdaBackend.typeText(text);
|
|
880
875
|
await sleep(300);
|
|
881
876
|
} catch (error) {
|
|
882
877
|
debugDevice(`Failed to type text with WDA: ${error}`);
|
package/dist/es/cli.mjs
CHANGED
|
@@ -868,15 +868,10 @@ ScreenSize: ${size.width}x${size.height} (DPR: ${size.scale})
|
|
|
868
868
|
async typeText(text, options) {
|
|
869
869
|
if (!text) return;
|
|
870
870
|
const shouldAutoDismissKeyboard = options?.autoDismissKeyboard ?? this.options?.autoDismissKeyboard ?? true;
|
|
871
|
-
const typeDelay = options?.keyboardTypeDelay ?? this.options?.keyboardTypeDelay;
|
|
872
871
|
debugDevice(`Typing text: "${text}"`);
|
|
873
872
|
try {
|
|
874
873
|
await sleep(200);
|
|
875
|
-
|
|
876
|
-
await this.wdaBackend.typeText(ch);
|
|
877
|
-
await sleep(typeDelay);
|
|
878
|
-
}
|
|
879
|
-
else await this.wdaBackend.typeText(text);
|
|
874
|
+
await this.wdaBackend.typeText(text);
|
|
880
875
|
await sleep(300);
|
|
881
876
|
} catch (error) {
|
|
882
877
|
debugDevice(`Failed to type text with WDA: ${error}`);
|
|
@@ -1460,7 +1455,7 @@ class IOSMidsceneTools extends BaseMidsceneTools {
|
|
|
1460
1455
|
const tools = new IOSMidsceneTools();
|
|
1461
1456
|
runToolsCLI(tools, 'midscene-ios', {
|
|
1462
1457
|
stripPrefix: 'ios_',
|
|
1463
|
-
version: "1.10.
|
|
1458
|
+
version: "1.10.3",
|
|
1464
1459
|
extraCommands: createReportCliCommands()
|
|
1465
1460
|
}).catch((e)=>{
|
|
1466
1461
|
process.exit(reportCLIError(e));
|
package/dist/es/index.mjs
CHANGED
|
@@ -689,15 +689,10 @@ ScreenSize: ${size.width}x${size.height} (DPR: ${size.scale})
|
|
|
689
689
|
async typeText(text, options) {
|
|
690
690
|
if (!text) return;
|
|
691
691
|
const shouldAutoDismissKeyboard = options?.autoDismissKeyboard ?? this.options?.autoDismissKeyboard ?? true;
|
|
692
|
-
const typeDelay = options?.keyboardTypeDelay ?? this.options?.keyboardTypeDelay;
|
|
693
692
|
debugDevice(`Typing text: "${text}"`);
|
|
694
693
|
try {
|
|
695
694
|
await sleep(200);
|
|
696
|
-
|
|
697
|
-
await this.wdaBackend.typeText(ch);
|
|
698
|
-
await sleep(typeDelay);
|
|
699
|
-
}
|
|
700
|
-
else await this.wdaBackend.typeText(text);
|
|
695
|
+
await this.wdaBackend.typeText(text);
|
|
701
696
|
await sleep(300);
|
|
702
697
|
} catch (error) {
|
|
703
698
|
debugDevice(`Failed to type text with WDA: ${error}`);
|
package/dist/lib/bin.js
CHANGED
|
@@ -893,15 +893,10 @@ ScreenSize: ${size.width}x${size.height} (DPR: ${size.scale})
|
|
|
893
893
|
async typeText(text, options) {
|
|
894
894
|
if (!text) return;
|
|
895
895
|
const shouldAutoDismissKeyboard = options?.autoDismissKeyboard ?? this.options?.autoDismissKeyboard ?? true;
|
|
896
|
-
const typeDelay = options?.keyboardTypeDelay ?? this.options?.keyboardTypeDelay;
|
|
897
896
|
debugDevice(`Typing text: "${text}"`);
|
|
898
897
|
try {
|
|
899
898
|
await (0, core_utils_namespaceObject.sleep)(200);
|
|
900
|
-
|
|
901
|
-
await this.wdaBackend.typeText(ch);
|
|
902
|
-
await (0, core_utils_namespaceObject.sleep)(typeDelay);
|
|
903
|
-
}
|
|
904
|
-
else await this.wdaBackend.typeText(text);
|
|
899
|
+
await this.wdaBackend.typeText(text);
|
|
905
900
|
await (0, core_utils_namespaceObject.sleep)(300);
|
|
906
901
|
} catch (error) {
|
|
907
902
|
debugDevice(`Failed to type text with WDA: ${error}`);
|
package/dist/lib/cli.js
CHANGED
|
@@ -892,15 +892,10 @@ ScreenSize: ${size.width}x${size.height} (DPR: ${size.scale})
|
|
|
892
892
|
async typeText(text, options) {
|
|
893
893
|
if (!text) return;
|
|
894
894
|
const shouldAutoDismissKeyboard = options?.autoDismissKeyboard ?? this.options?.autoDismissKeyboard ?? true;
|
|
895
|
-
const typeDelay = options?.keyboardTypeDelay ?? this.options?.keyboardTypeDelay;
|
|
896
895
|
debugDevice(`Typing text: "${text}"`);
|
|
897
896
|
try {
|
|
898
897
|
await (0, core_utils_namespaceObject.sleep)(200);
|
|
899
|
-
|
|
900
|
-
await this.wdaBackend.typeText(ch);
|
|
901
|
-
await (0, core_utils_namespaceObject.sleep)(typeDelay);
|
|
902
|
-
}
|
|
903
|
-
else await this.wdaBackend.typeText(text);
|
|
898
|
+
await this.wdaBackend.typeText(text);
|
|
904
899
|
await (0, core_utils_namespaceObject.sleep)(300);
|
|
905
900
|
} catch (error) {
|
|
906
901
|
debugDevice(`Failed to type text with WDA: ${error}`);
|
|
@@ -1484,7 +1479,7 @@ class IOSMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools {
|
|
|
1484
1479
|
const tools = new IOSMidsceneTools();
|
|
1485
1480
|
(0, cli_namespaceObject.runToolsCLI)(tools, 'midscene-ios', {
|
|
1486
1481
|
stripPrefix: 'ios_',
|
|
1487
|
-
version: "1.10.
|
|
1482
|
+
version: "1.10.3",
|
|
1488
1483
|
extraCommands: (0, core_namespaceObject.createReportCliCommands)()
|
|
1489
1484
|
}).catch((e)=>{
|
|
1490
1485
|
process.exit((0, cli_namespaceObject.reportCLIError)(e));
|
package/dist/lib/index.js
CHANGED
|
@@ -724,15 +724,10 @@ ScreenSize: ${size.width}x${size.height} (DPR: ${size.scale})
|
|
|
724
724
|
async typeText(text, options) {
|
|
725
725
|
if (!text) return;
|
|
726
726
|
const shouldAutoDismissKeyboard = options?.autoDismissKeyboard ?? this.options?.autoDismissKeyboard ?? true;
|
|
727
|
-
const typeDelay = options?.keyboardTypeDelay ?? this.options?.keyboardTypeDelay;
|
|
728
727
|
debugDevice(`Typing text: "${text}"`);
|
|
729
728
|
try {
|
|
730
729
|
await (0, utils_namespaceObject.sleep)(200);
|
|
731
|
-
|
|
732
|
-
await this.wdaBackend.typeText(ch);
|
|
733
|
-
await (0, utils_namespaceObject.sleep)(typeDelay);
|
|
734
|
-
}
|
|
735
|
-
else await this.wdaBackend.typeText(text);
|
|
730
|
+
await this.wdaBackend.typeText(text);
|
|
736
731
|
await (0, utils_namespaceObject.sleep)(300);
|
|
737
732
|
} catch (error) {
|
|
738
733
|
debugDevice(`Failed to type text with WDA: ${error}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/ios",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/midscene.git",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@inquirer/prompts": "^7.8.6",
|
|
45
45
|
"open": "10.1.0",
|
|
46
|
-
"@midscene/core": "1.10.
|
|
47
|
-
"@midscene/shared": "1.10.
|
|
48
|
-
"@midscene/
|
|
49
|
-
"@midscene/
|
|
46
|
+
"@midscene/core": "1.10.3",
|
|
47
|
+
"@midscene/shared": "1.10.3",
|
|
48
|
+
"@midscene/webdriver": "1.10.3",
|
|
49
|
+
"@midscene/playground": "1.10.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@rslib/core": "^0.18.3",
|
package/static/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.7b1abe58.js"></script><script defer src="/static/js/
|
|
1
|
+
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.7b1abe58.js"></script><script defer src="/static/js/445.884e7c8e.js"></script><script defer src="/static/js/index.e5706ed1.js"></script><link href="/static/css/index.1293237f.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|