@kaeawc/auto-mobile 0.0.19 → 0.0.21
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/schemas/test-plan.schema.json +558 -0
- package/dist/schemas/tool-definitions.json +544 -145
- package/dist/src/index.js +223 -214
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/tool-definitions.json +104 -0
|
@@ -37,12 +37,20 @@
|
|
|
37
37
|
"description": "How long the SDK override remains active in milliseconds (default: 5000). The override is cleared after the first authentication callback or when the TTL expires.",
|
|
38
38
|
"type": "number"
|
|
39
39
|
},
|
|
40
|
+
"platform": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"enum": [
|
|
43
|
+
"android",
|
|
44
|
+
"ios"
|
|
45
|
+
],
|
|
46
|
+
"description": "Target platform"
|
|
47
|
+
},
|
|
40
48
|
"sessionUuid": {
|
|
41
|
-
"description": "Session UUID
|
|
49
|
+
"description": "Session UUID",
|
|
42
50
|
"type": "string"
|
|
43
51
|
},
|
|
44
52
|
"keepScreenAwake": {
|
|
45
|
-
"description": "Keep
|
|
53
|
+
"description": "Keep device awake",
|
|
46
54
|
"type": "boolean"
|
|
47
55
|
},
|
|
48
56
|
"device": {
|
|
@@ -50,7 +58,7 @@
|
|
|
50
58
|
"type": "string"
|
|
51
59
|
},
|
|
52
60
|
"deviceId": {
|
|
53
|
-
"description": "Device
|
|
61
|
+
"description": "Device ID",
|
|
54
62
|
"type": "string"
|
|
55
63
|
}
|
|
56
64
|
},
|
|
@@ -112,11 +120,11 @@
|
|
|
112
120
|
"minLength": 1
|
|
113
121
|
},
|
|
114
122
|
"sessionUuid": {
|
|
115
|
-
"description": "Session UUID
|
|
123
|
+
"description": "Session UUID",
|
|
116
124
|
"type": "string"
|
|
117
125
|
},
|
|
118
126
|
"keepScreenAwake": {
|
|
119
|
-
"description": "Keep
|
|
127
|
+
"description": "Keep device awake",
|
|
120
128
|
"type": "boolean"
|
|
121
129
|
},
|
|
122
130
|
"device": {
|
|
@@ -124,7 +132,7 @@
|
|
|
124
132
|
"type": "string"
|
|
125
133
|
},
|
|
126
134
|
"deviceId": {
|
|
127
|
-
"description": "Device
|
|
135
|
+
"description": "Device ID",
|
|
128
136
|
"type": "string"
|
|
129
137
|
}
|
|
130
138
|
},
|
|
@@ -150,11 +158,11 @@
|
|
|
150
158
|
"description": "Target platform"
|
|
151
159
|
},
|
|
152
160
|
"sessionUuid": {
|
|
153
|
-
"description": "Session UUID
|
|
161
|
+
"description": "Session UUID",
|
|
154
162
|
"type": "string"
|
|
155
163
|
},
|
|
156
164
|
"keepScreenAwake": {
|
|
157
|
-
"description": "Keep
|
|
165
|
+
"description": "Keep device awake",
|
|
158
166
|
"type": "boolean"
|
|
159
167
|
},
|
|
160
168
|
"device": {
|
|
@@ -162,7 +170,7 @@
|
|
|
162
170
|
"type": "string"
|
|
163
171
|
},
|
|
164
172
|
"deviceId": {
|
|
165
|
-
"description": "Device
|
|
173
|
+
"description": "Device ID",
|
|
166
174
|
"type": "string"
|
|
167
175
|
}
|
|
168
176
|
},
|
|
@@ -202,11 +210,11 @@
|
|
|
202
210
|
"description": "Target platform"
|
|
203
211
|
},
|
|
204
212
|
"sessionUuid": {
|
|
205
|
-
"description": "Session UUID
|
|
213
|
+
"description": "Session UUID",
|
|
206
214
|
"type": "string"
|
|
207
215
|
},
|
|
208
216
|
"keepScreenAwake": {
|
|
209
|
-
"description": "Keep
|
|
217
|
+
"description": "Keep device awake",
|
|
210
218
|
"type": "boolean"
|
|
211
219
|
},
|
|
212
220
|
"device": {
|
|
@@ -214,7 +222,7 @@
|
|
|
214
222
|
"type": "string"
|
|
215
223
|
},
|
|
216
224
|
"deviceId": {
|
|
217
|
-
"description": "Device
|
|
225
|
+
"description": "Device ID",
|
|
218
226
|
"type": "string"
|
|
219
227
|
}
|
|
220
228
|
},
|
|
@@ -345,12 +353,20 @@
|
|
|
345
353
|
"type": "string"
|
|
346
354
|
}
|
|
347
355
|
},
|
|
356
|
+
"platform": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"enum": [
|
|
359
|
+
"android",
|
|
360
|
+
"ios"
|
|
361
|
+
],
|
|
362
|
+
"description": "Target platform"
|
|
363
|
+
},
|
|
348
364
|
"sessionUuid": {
|
|
349
|
-
"description": "Session UUID
|
|
365
|
+
"description": "Session UUID",
|
|
350
366
|
"type": "string"
|
|
351
367
|
},
|
|
352
368
|
"keepScreenAwake": {
|
|
353
|
-
"description": "Keep
|
|
369
|
+
"description": "Keep device awake",
|
|
354
370
|
"type": "boolean"
|
|
355
371
|
},
|
|
356
372
|
"device": {
|
|
@@ -358,7 +374,7 @@
|
|
|
358
374
|
"type": "string"
|
|
359
375
|
},
|
|
360
376
|
"deviceId": {
|
|
361
|
-
"description": "Device
|
|
377
|
+
"description": "Device ID",
|
|
362
378
|
"type": "string"
|
|
363
379
|
}
|
|
364
380
|
},
|
|
@@ -491,11 +507,11 @@
|
|
|
491
507
|
"description": "Target platform"
|
|
492
508
|
},
|
|
493
509
|
"sessionUuid": {
|
|
494
|
-
"description": "Session UUID
|
|
510
|
+
"description": "Session UUID",
|
|
495
511
|
"type": "string"
|
|
496
512
|
},
|
|
497
513
|
"keepScreenAwake": {
|
|
498
|
-
"description": "Keep
|
|
514
|
+
"description": "Keep device awake",
|
|
499
515
|
"type": "boolean"
|
|
500
516
|
},
|
|
501
517
|
"device": {
|
|
@@ -503,7 +519,7 @@
|
|
|
503
519
|
"type": "string"
|
|
504
520
|
},
|
|
505
521
|
"deviceId": {
|
|
506
|
-
"description": "Device
|
|
522
|
+
"description": "Device ID",
|
|
507
523
|
"type": "string"
|
|
508
524
|
}
|
|
509
525
|
},
|
|
@@ -544,7 +560,7 @@
|
|
|
544
560
|
"type": "string"
|
|
545
561
|
},
|
|
546
562
|
"keepScreenAwake": {
|
|
547
|
-
"description": "Keep
|
|
563
|
+
"description": "Keep device awake",
|
|
548
564
|
"type": "boolean"
|
|
549
565
|
},
|
|
550
566
|
"deviceId": {
|
|
@@ -623,6 +639,14 @@
|
|
|
623
639
|
"cleanupClearAppData": {
|
|
624
640
|
"description": "Clear app data on cleanup",
|
|
625
641
|
"type": "boolean"
|
|
642
|
+
},
|
|
643
|
+
"captureObserveSteps": {
|
|
644
|
+
"description": "Single-device plans only: attach each successful observe step snapshot to executePlan result `debug.steps[n].details.stepObservation` (`summary` = metadata + element samples; `full` = includes viewHierarchy). Ignored for multi-device plans.",
|
|
645
|
+
"type": "string",
|
|
646
|
+
"enum": [
|
|
647
|
+
"summary",
|
|
648
|
+
"full"
|
|
649
|
+
]
|
|
626
650
|
}
|
|
627
651
|
},
|
|
628
652
|
"required": [
|
|
@@ -667,7 +691,8 @@
|
|
|
667
691
|
},
|
|
668
692
|
"device": {
|
|
669
693
|
"type": "string"
|
|
670
|
-
}
|
|
694
|
+
},
|
|
695
|
+
"failureObservation": {}
|
|
671
696
|
},
|
|
672
697
|
"required": [
|
|
673
698
|
"stepIndex",
|
|
@@ -820,6 +845,56 @@
|
|
|
820
845
|
"additionalProperties": false
|
|
821
846
|
}
|
|
822
847
|
},
|
|
848
|
+
{
|
|
849
|
+
"name": "getAppPermissions",
|
|
850
|
+
"description": "Read app permission state on Android devices and iOS simulators",
|
|
851
|
+
"inputSchema": {
|
|
852
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
853
|
+
"type": "object",
|
|
854
|
+
"properties": {
|
|
855
|
+
"appId": {
|
|
856
|
+
"type": "string",
|
|
857
|
+
"description": "App package ID or bundle identifier"
|
|
858
|
+
},
|
|
859
|
+
"permissions": {
|
|
860
|
+
"description": "Optional permission names or simulator privacy services to query. If omitted, returns known permission rows.",
|
|
861
|
+
"type": "array",
|
|
862
|
+
"items": {
|
|
863
|
+
"type": "string",
|
|
864
|
+
"minLength": 1
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"platform": {
|
|
868
|
+
"type": "string",
|
|
869
|
+
"enum": [
|
|
870
|
+
"android",
|
|
871
|
+
"ios"
|
|
872
|
+
],
|
|
873
|
+
"description": "Target platform"
|
|
874
|
+
},
|
|
875
|
+
"sessionUuid": {
|
|
876
|
+
"description": "Session UUID",
|
|
877
|
+
"type": "string"
|
|
878
|
+
},
|
|
879
|
+
"keepScreenAwake": {
|
|
880
|
+
"description": "Keep device awake",
|
|
881
|
+
"type": "boolean"
|
|
882
|
+
},
|
|
883
|
+
"device": {
|
|
884
|
+
"description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
|
|
885
|
+
"type": "string"
|
|
886
|
+
},
|
|
887
|
+
"deviceId": {
|
|
888
|
+
"description": "Device ID",
|
|
889
|
+
"type": "string"
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
"required": [
|
|
893
|
+
"appId"
|
|
894
|
+
],
|
|
895
|
+
"additionalProperties": false
|
|
896
|
+
}
|
|
897
|
+
},
|
|
823
898
|
{
|
|
824
899
|
"name": "getDeepLinks",
|
|
825
900
|
"description": "Query deep links for app",
|
|
@@ -831,12 +906,20 @@
|
|
|
831
906
|
"type": "string",
|
|
832
907
|
"description": "App package ID"
|
|
833
908
|
},
|
|
909
|
+
"platform": {
|
|
910
|
+
"type": "string",
|
|
911
|
+
"enum": [
|
|
912
|
+
"android",
|
|
913
|
+
"ios"
|
|
914
|
+
],
|
|
915
|
+
"description": "Target platform"
|
|
916
|
+
},
|
|
834
917
|
"sessionUuid": {
|
|
835
|
-
"description": "Session UUID
|
|
918
|
+
"description": "Session UUID",
|
|
836
919
|
"type": "string"
|
|
837
920
|
},
|
|
838
921
|
"keepScreenAwake": {
|
|
839
|
-
"description": "Keep
|
|
922
|
+
"description": "Keep device awake",
|
|
840
923
|
"type": "boolean"
|
|
841
924
|
},
|
|
842
925
|
"device": {
|
|
@@ -844,7 +927,95 @@
|
|
|
844
927
|
"type": "string"
|
|
845
928
|
},
|
|
846
929
|
"deviceId": {
|
|
847
|
-
"description": "Device
|
|
930
|
+
"description": "Device ID",
|
|
931
|
+
"type": "string"
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
"required": [
|
|
935
|
+
"appId"
|
|
936
|
+
],
|
|
937
|
+
"additionalProperties": false
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"name": "getDeviceState",
|
|
942
|
+
"description": "Read device-level state such as Do Not Disturb",
|
|
943
|
+
"inputSchema": {
|
|
944
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
945
|
+
"type": "object",
|
|
946
|
+
"properties": {
|
|
947
|
+
"include": {
|
|
948
|
+
"description": "Optional device state fields to read. Currently supports doNotDisturb.",
|
|
949
|
+
"type": "array",
|
|
950
|
+
"items": {
|
|
951
|
+
"type": "string",
|
|
952
|
+
"enum": [
|
|
953
|
+
"doNotDisturb"
|
|
954
|
+
]
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"platform": {
|
|
958
|
+
"type": "string",
|
|
959
|
+
"enum": [
|
|
960
|
+
"android",
|
|
961
|
+
"ios"
|
|
962
|
+
],
|
|
963
|
+
"description": "Target platform"
|
|
964
|
+
},
|
|
965
|
+
"sessionUuid": {
|
|
966
|
+
"description": "Session UUID",
|
|
967
|
+
"type": "string"
|
|
968
|
+
},
|
|
969
|
+
"keepScreenAwake": {
|
|
970
|
+
"description": "Keep device awake",
|
|
971
|
+
"type": "boolean"
|
|
972
|
+
},
|
|
973
|
+
"device": {
|
|
974
|
+
"description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
|
|
975
|
+
"type": "string"
|
|
976
|
+
},
|
|
977
|
+
"deviceId": {
|
|
978
|
+
"description": "Device ID",
|
|
979
|
+
"type": "string"
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
"additionalProperties": false
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "getNotificationPolicy",
|
|
987
|
+
"description": "Read app notification policy state, including Android Do Not Disturb policy access",
|
|
988
|
+
"inputSchema": {
|
|
989
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
990
|
+
"type": "object",
|
|
991
|
+
"properties": {
|
|
992
|
+
"appId": {
|
|
993
|
+
"type": "string",
|
|
994
|
+
"minLength": 1,
|
|
995
|
+
"description": "App package ID or bundle identifier"
|
|
996
|
+
},
|
|
997
|
+
"platform": {
|
|
998
|
+
"type": "string",
|
|
999
|
+
"enum": [
|
|
1000
|
+
"android",
|
|
1001
|
+
"ios"
|
|
1002
|
+
],
|
|
1003
|
+
"description": "Target platform"
|
|
1004
|
+
},
|
|
1005
|
+
"sessionUuid": {
|
|
1006
|
+
"description": "Session UUID",
|
|
1007
|
+
"type": "string"
|
|
1008
|
+
},
|
|
1009
|
+
"keepScreenAwake": {
|
|
1010
|
+
"description": "Keep device awake",
|
|
1011
|
+
"type": "boolean"
|
|
1012
|
+
},
|
|
1013
|
+
"device": {
|
|
1014
|
+
"description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
|
|
1015
|
+
"type": "string"
|
|
1016
|
+
},
|
|
1017
|
+
"deviceId": {
|
|
1018
|
+
"description": "Device ID",
|
|
848
1019
|
"type": "string"
|
|
849
1020
|
}
|
|
850
1021
|
},
|
|
@@ -870,7 +1041,7 @@
|
|
|
870
1041
|
"description": "Target platform"
|
|
871
1042
|
},
|
|
872
1043
|
"deviceId": {
|
|
873
|
-
"description": "Device
|
|
1044
|
+
"description": "Device ID",
|
|
874
1045
|
"type": "string"
|
|
875
1046
|
},
|
|
876
1047
|
"timeoutMs": {
|
|
@@ -1501,11 +1672,11 @@
|
|
|
1501
1672
|
]
|
|
1502
1673
|
},
|
|
1503
1674
|
"sessionUuid": {
|
|
1504
|
-
"description": "Session UUID
|
|
1675
|
+
"description": "Session UUID",
|
|
1505
1676
|
"type": "string"
|
|
1506
1677
|
},
|
|
1507
1678
|
"keepScreenAwake": {
|
|
1508
|
-
"description": "Keep
|
|
1679
|
+
"description": "Keep device awake",
|
|
1509
1680
|
"type": "boolean"
|
|
1510
1681
|
},
|
|
1511
1682
|
"device": {
|
|
@@ -1535,11 +1706,11 @@
|
|
|
1535
1706
|
"description": "Target platform"
|
|
1536
1707
|
},
|
|
1537
1708
|
"sessionUuid": {
|
|
1538
|
-
"description": "Session UUID
|
|
1709
|
+
"description": "Session UUID",
|
|
1539
1710
|
"type": "string"
|
|
1540
1711
|
},
|
|
1541
1712
|
"keepScreenAwake": {
|
|
1542
|
-
"description": "Keep
|
|
1713
|
+
"description": "Keep device awake",
|
|
1543
1714
|
"type": "boolean"
|
|
1544
1715
|
},
|
|
1545
1716
|
"device": {
|
|
@@ -1547,7 +1718,7 @@
|
|
|
1547
1718
|
"type": "string"
|
|
1548
1719
|
},
|
|
1549
1720
|
"deviceId": {
|
|
1550
|
-
"description": "Device
|
|
1721
|
+
"description": "Device ID",
|
|
1551
1722
|
"type": "string"
|
|
1552
1723
|
}
|
|
1553
1724
|
},
|
|
@@ -1585,11 +1756,11 @@
|
|
|
1585
1756
|
"description": "Target platform"
|
|
1586
1757
|
},
|
|
1587
1758
|
"sessionUuid": {
|
|
1588
|
-
"description": "Session UUID
|
|
1759
|
+
"description": "Session UUID",
|
|
1589
1760
|
"type": "string"
|
|
1590
1761
|
},
|
|
1591
1762
|
"keepScreenAwake": {
|
|
1592
|
-
"description": "Keep
|
|
1763
|
+
"description": "Keep device awake",
|
|
1593
1764
|
"type": "boolean"
|
|
1594
1765
|
},
|
|
1595
1766
|
"device": {
|
|
@@ -1597,7 +1768,7 @@
|
|
|
1597
1768
|
"type": "string"
|
|
1598
1769
|
},
|
|
1599
1770
|
"deviceId": {
|
|
1600
|
-
"description": "Device
|
|
1771
|
+
"description": "Device ID",
|
|
1601
1772
|
"type": "string"
|
|
1602
1773
|
}
|
|
1603
1774
|
},
|
|
@@ -1645,11 +1816,11 @@
|
|
|
1645
1816
|
"description": "Target platform"
|
|
1646
1817
|
},
|
|
1647
1818
|
"sessionUuid": {
|
|
1648
|
-
"description": "Session UUID
|
|
1819
|
+
"description": "Session UUID",
|
|
1649
1820
|
"type": "string"
|
|
1650
1821
|
},
|
|
1651
1822
|
"keepScreenAwake": {
|
|
1652
|
-
"description": "Keep
|
|
1823
|
+
"description": "Keep device awake",
|
|
1653
1824
|
"type": "boolean"
|
|
1654
1825
|
},
|
|
1655
1826
|
"device": {
|
|
@@ -1657,7 +1828,7 @@
|
|
|
1657
1828
|
"type": "string"
|
|
1658
1829
|
},
|
|
1659
1830
|
"deviceId": {
|
|
1660
|
-
"description": "Device
|
|
1831
|
+
"description": "Device ID",
|
|
1661
1832
|
"type": "string"
|
|
1662
1833
|
}
|
|
1663
1834
|
},
|
|
@@ -1679,12 +1850,20 @@
|
|
|
1679
1850
|
"type": "string",
|
|
1680
1851
|
"description": "Path to app artifact (.apk for Android, .app bundle for iOS simulator, .ipa for iOS physical device)"
|
|
1681
1852
|
},
|
|
1853
|
+
"platform": {
|
|
1854
|
+
"type": "string",
|
|
1855
|
+
"enum": [
|
|
1856
|
+
"android",
|
|
1857
|
+
"ios"
|
|
1858
|
+
],
|
|
1859
|
+
"description": "Target platform"
|
|
1860
|
+
},
|
|
1682
1861
|
"sessionUuid": {
|
|
1683
|
-
"description": "Session UUID
|
|
1862
|
+
"description": "Session UUID",
|
|
1684
1863
|
"type": "string"
|
|
1685
1864
|
},
|
|
1686
1865
|
"keepScreenAwake": {
|
|
1687
|
-
"description": "Keep
|
|
1866
|
+
"description": "Keep device awake",
|
|
1688
1867
|
"type": "boolean"
|
|
1689
1868
|
},
|
|
1690
1869
|
"device": {
|
|
@@ -1692,7 +1871,7 @@
|
|
|
1692
1871
|
"type": "string"
|
|
1693
1872
|
},
|
|
1694
1873
|
"deviceId": {
|
|
1695
|
-
"description": "Device
|
|
1874
|
+
"description": "Device ID",
|
|
1696
1875
|
"type": "string"
|
|
1697
1876
|
}
|
|
1698
1877
|
},
|
|
@@ -1727,11 +1906,11 @@
|
|
|
1727
1906
|
"description": "Target platform"
|
|
1728
1907
|
},
|
|
1729
1908
|
"sessionUuid": {
|
|
1730
|
-
"description": "Session UUID
|
|
1909
|
+
"description": "Session UUID",
|
|
1731
1910
|
"type": "string"
|
|
1732
1911
|
},
|
|
1733
1912
|
"keepScreenAwake": {
|
|
1734
|
-
"description": "Keep
|
|
1913
|
+
"description": "Keep device awake",
|
|
1735
1914
|
"type": "boolean"
|
|
1736
1915
|
},
|
|
1737
1916
|
"device": {
|
|
@@ -1739,7 +1918,7 @@
|
|
|
1739
1918
|
"type": "string"
|
|
1740
1919
|
},
|
|
1741
1920
|
"deviceId": {
|
|
1742
|
-
"description": "Device
|
|
1921
|
+
"description": "Device ID",
|
|
1743
1922
|
"type": "string"
|
|
1744
1923
|
}
|
|
1745
1924
|
},
|
|
@@ -1810,12 +1989,20 @@
|
|
|
1810
1989
|
"description": "Cold boot app (default false)",
|
|
1811
1990
|
"type": "boolean"
|
|
1812
1991
|
},
|
|
1992
|
+
"platform": {
|
|
1993
|
+
"type": "string",
|
|
1994
|
+
"enum": [
|
|
1995
|
+
"android",
|
|
1996
|
+
"ios"
|
|
1997
|
+
],
|
|
1998
|
+
"description": "Target platform"
|
|
1999
|
+
},
|
|
1813
2000
|
"sessionUuid": {
|
|
1814
|
-
"description": "Session UUID
|
|
2001
|
+
"description": "Session UUID",
|
|
1815
2002
|
"type": "string"
|
|
1816
2003
|
},
|
|
1817
2004
|
"keepScreenAwake": {
|
|
1818
|
-
"description": "Keep
|
|
2005
|
+
"description": "Keep device awake",
|
|
1819
2006
|
"type": "boolean"
|
|
1820
2007
|
},
|
|
1821
2008
|
"device": {
|
|
@@ -1823,7 +2010,7 @@
|
|
|
1823
2010
|
"type": "string"
|
|
1824
2011
|
},
|
|
1825
2012
|
"deviceId": {
|
|
1826
|
-
"description": "Device
|
|
2013
|
+
"description": "Device ID",
|
|
1827
2014
|
"type": "string"
|
|
1828
2015
|
}
|
|
1829
2016
|
},
|
|
@@ -1912,6 +2099,37 @@
|
|
|
1912
2099
|
"timeout": {
|
|
1913
2100
|
"description": "Wait timeout ms (default: 5000)",
|
|
1914
2101
|
"type": "number"
|
|
2102
|
+
},
|
|
2103
|
+
"container": {
|
|
2104
|
+
"description": "Scope the match inside this container. Use when resource IDs repeat (e.g. id/name in a RecyclerView).",
|
|
2105
|
+
"anyOf": [
|
|
2106
|
+
{
|
|
2107
|
+
"type": "object",
|
|
2108
|
+
"properties": {
|
|
2109
|
+
"elementId": {
|
|
2110
|
+
"type": "string",
|
|
2111
|
+
"description": "Container resource ID"
|
|
2112
|
+
}
|
|
2113
|
+
},
|
|
2114
|
+
"required": [
|
|
2115
|
+
"elementId"
|
|
2116
|
+
],
|
|
2117
|
+
"additionalProperties": false
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"type": "object",
|
|
2121
|
+
"properties": {
|
|
2122
|
+
"text": {
|
|
2123
|
+
"type": "string",
|
|
2124
|
+
"description": "Container text"
|
|
2125
|
+
}
|
|
2126
|
+
},
|
|
2127
|
+
"required": [
|
|
2128
|
+
"text"
|
|
2129
|
+
],
|
|
2130
|
+
"additionalProperties": false
|
|
2131
|
+
}
|
|
2132
|
+
]
|
|
1915
2133
|
}
|
|
1916
2134
|
},
|
|
1917
2135
|
"required": [
|
|
@@ -1929,6 +2147,37 @@
|
|
|
1929
2147
|
"timeout": {
|
|
1930
2148
|
"description": "Wait timeout ms (default: 5000)",
|
|
1931
2149
|
"type": "number"
|
|
2150
|
+
},
|
|
2151
|
+
"container": {
|
|
2152
|
+
"description": "Scope the match inside this container. Use when resource IDs repeat (e.g. id/name in a RecyclerView).",
|
|
2153
|
+
"anyOf": [
|
|
2154
|
+
{
|
|
2155
|
+
"type": "object",
|
|
2156
|
+
"properties": {
|
|
2157
|
+
"elementId": {
|
|
2158
|
+
"type": "string",
|
|
2159
|
+
"description": "Container resource ID"
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
"required": [
|
|
2163
|
+
"elementId"
|
|
2164
|
+
],
|
|
2165
|
+
"additionalProperties": false
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"type": "object",
|
|
2169
|
+
"properties": {
|
|
2170
|
+
"text": {
|
|
2171
|
+
"type": "string",
|
|
2172
|
+
"description": "Container text"
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2175
|
+
"required": [
|
|
2176
|
+
"text"
|
|
2177
|
+
],
|
|
2178
|
+
"additionalProperties": false
|
|
2179
|
+
}
|
|
2180
|
+
]
|
|
1932
2181
|
}
|
|
1933
2182
|
},
|
|
1934
2183
|
"required": [
|
|
@@ -1943,11 +2192,11 @@
|
|
|
1943
2192
|
"type": "boolean"
|
|
1944
2193
|
},
|
|
1945
2194
|
"sessionUuid": {
|
|
1946
|
-
"description": "Session UUID
|
|
2195
|
+
"description": "Session UUID",
|
|
1947
2196
|
"type": "string"
|
|
1948
2197
|
},
|
|
1949
2198
|
"keepScreenAwake": {
|
|
1950
|
-
"description": "Keep
|
|
2199
|
+
"description": "Keep device awake",
|
|
1951
2200
|
"type": "boolean"
|
|
1952
2201
|
},
|
|
1953
2202
|
"device": {
|
|
@@ -1955,7 +2204,7 @@
|
|
|
1955
2204
|
"type": "string"
|
|
1956
2205
|
},
|
|
1957
2206
|
"deviceId": {
|
|
1958
|
-
"description": "Device
|
|
2207
|
+
"description": "Device ID",
|
|
1959
2208
|
"type": "string"
|
|
1960
2209
|
}
|
|
1961
2210
|
},
|
|
@@ -3690,11 +3939,11 @@
|
|
|
3690
3939
|
"description": "Target platform"
|
|
3691
3940
|
},
|
|
3692
3941
|
"sessionUuid": {
|
|
3693
|
-
"description": "Session UUID
|
|
3942
|
+
"description": "Session UUID",
|
|
3694
3943
|
"type": "string"
|
|
3695
3944
|
},
|
|
3696
3945
|
"keepScreenAwake": {
|
|
3697
|
-
"description": "Keep
|
|
3946
|
+
"description": "Keep device awake",
|
|
3698
3947
|
"type": "boolean"
|
|
3699
3948
|
},
|
|
3700
3949
|
"device": {
|
|
@@ -3702,7 +3951,7 @@
|
|
|
3702
3951
|
"type": "string"
|
|
3703
3952
|
},
|
|
3704
3953
|
"deviceId": {
|
|
3705
|
-
"description": "Device
|
|
3954
|
+
"description": "Device ID",
|
|
3706
3955
|
"type": "string"
|
|
3707
3956
|
}
|
|
3708
3957
|
},
|
|
@@ -3796,11 +4045,11 @@
|
|
|
3796
4045
|
"description": "Target platform"
|
|
3797
4046
|
},
|
|
3798
4047
|
"sessionUuid": {
|
|
3799
|
-
"description": "Session UUID
|
|
4048
|
+
"description": "Session UUID",
|
|
3800
4049
|
"type": "string"
|
|
3801
4050
|
},
|
|
3802
4051
|
"keepScreenAwake": {
|
|
3803
|
-
"description": "Keep
|
|
4052
|
+
"description": "Keep device awake",
|
|
3804
4053
|
"type": "boolean"
|
|
3805
4054
|
},
|
|
3806
4055
|
"device": {
|
|
@@ -3808,7 +4057,7 @@
|
|
|
3808
4057
|
"type": "string"
|
|
3809
4058
|
},
|
|
3810
4059
|
"deviceId": {
|
|
3811
|
-
"description": "Device
|
|
4060
|
+
"description": "Device ID",
|
|
3812
4061
|
"type": "string"
|
|
3813
4062
|
}
|
|
3814
4063
|
},
|
|
@@ -3885,11 +4134,11 @@
|
|
|
3885
4134
|
"description": "Target platform"
|
|
3886
4135
|
},
|
|
3887
4136
|
"sessionUuid": {
|
|
3888
|
-
"description": "Session UUID
|
|
4137
|
+
"description": "Session UUID",
|
|
3889
4138
|
"type": "string"
|
|
3890
4139
|
},
|
|
3891
4140
|
"keepScreenAwake": {
|
|
3892
|
-
"description": "Keep
|
|
4141
|
+
"description": "Keep device awake",
|
|
3893
4142
|
"type": "boolean"
|
|
3894
4143
|
},
|
|
3895
4144
|
"device": {
|
|
@@ -3897,7 +4146,7 @@
|
|
|
3897
4146
|
"type": "string"
|
|
3898
4147
|
},
|
|
3899
4148
|
"deviceId": {
|
|
3900
|
-
"description": "Device
|
|
4149
|
+
"description": "Device ID",
|
|
3901
4150
|
"type": "string"
|
|
3902
4151
|
}
|
|
3903
4152
|
},
|
|
@@ -3938,11 +4187,11 @@
|
|
|
3938
4187
|
"description": "Target platform"
|
|
3939
4188
|
},
|
|
3940
4189
|
"sessionUuid": {
|
|
3941
|
-
"description": "Session UUID
|
|
4190
|
+
"description": "Session UUID",
|
|
3942
4191
|
"type": "string"
|
|
3943
4192
|
},
|
|
3944
4193
|
"keepScreenAwake": {
|
|
3945
|
-
"description": "Keep
|
|
4194
|
+
"description": "Keep device awake",
|
|
3946
4195
|
"type": "boolean"
|
|
3947
4196
|
},
|
|
3948
4197
|
"device": {
|
|
@@ -3950,7 +4199,7 @@
|
|
|
3950
4199
|
"type": "string"
|
|
3951
4200
|
},
|
|
3952
4201
|
"deviceId": {
|
|
3953
|
-
"description": "Device
|
|
4202
|
+
"description": "Device ID",
|
|
3954
4203
|
"type": "string"
|
|
3955
4204
|
}
|
|
3956
4205
|
},
|
|
@@ -3961,58 +4210,6 @@
|
|
|
3961
4210
|
"additionalProperties": false
|
|
3962
4211
|
}
|
|
3963
4212
|
},
|
|
3964
|
-
{
|
|
3965
|
-
"name": "pressKey",
|
|
3966
|
-
"description": "Press hardware key",
|
|
3967
|
-
"inputSchema": {
|
|
3968
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3969
|
-
"type": "object",
|
|
3970
|
-
"properties": {
|
|
3971
|
-
"key": {
|
|
3972
|
-
"type": "string",
|
|
3973
|
-
"enum": [
|
|
3974
|
-
"home",
|
|
3975
|
-
"back",
|
|
3976
|
-
"menu",
|
|
3977
|
-
"power",
|
|
3978
|
-
"volume_up",
|
|
3979
|
-
"volume_down",
|
|
3980
|
-
"recent"
|
|
3981
|
-
],
|
|
3982
|
-
"description": "Key to press"
|
|
3983
|
-
},
|
|
3984
|
-
"platform": {
|
|
3985
|
-
"type": "string",
|
|
3986
|
-
"enum": [
|
|
3987
|
-
"android",
|
|
3988
|
-
"ios"
|
|
3989
|
-
],
|
|
3990
|
-
"description": "Target platform"
|
|
3991
|
-
},
|
|
3992
|
-
"sessionUuid": {
|
|
3993
|
-
"description": "Session UUID for device targeting",
|
|
3994
|
-
"type": "string"
|
|
3995
|
-
},
|
|
3996
|
-
"keepScreenAwake": {
|
|
3997
|
-
"description": "Keep physical Android devices awake during the session (default: true)",
|
|
3998
|
-
"type": "boolean"
|
|
3999
|
-
},
|
|
4000
|
-
"device": {
|
|
4001
|
-
"description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
|
|
4002
|
-
"type": "string"
|
|
4003
|
-
},
|
|
4004
|
-
"deviceId": {
|
|
4005
|
-
"description": "Device identifier for targeting a specific device",
|
|
4006
|
-
"type": "string"
|
|
4007
|
-
}
|
|
4008
|
-
},
|
|
4009
|
-
"required": [
|
|
4010
|
-
"key",
|
|
4011
|
-
"platform"
|
|
4012
|
-
],
|
|
4013
|
-
"additionalProperties": false
|
|
4014
|
-
}
|
|
4015
|
-
},
|
|
4016
4213
|
{
|
|
4017
4214
|
"name": "recentApps",
|
|
4018
4215
|
"description": "Open recent apps",
|
|
@@ -4029,11 +4226,11 @@
|
|
|
4029
4226
|
"description": "Target platform"
|
|
4030
4227
|
},
|
|
4031
4228
|
"sessionUuid": {
|
|
4032
|
-
"description": "Session UUID
|
|
4229
|
+
"description": "Session UUID",
|
|
4033
4230
|
"type": "string"
|
|
4034
4231
|
},
|
|
4035
4232
|
"keepScreenAwake": {
|
|
4036
|
-
"description": "Keep
|
|
4233
|
+
"description": "Keep device awake",
|
|
4037
4234
|
"type": "boolean"
|
|
4038
4235
|
},
|
|
4039
4236
|
"device": {
|
|
@@ -4041,7 +4238,7 @@
|
|
|
4041
4238
|
"type": "string"
|
|
4042
4239
|
},
|
|
4043
4240
|
"deviceId": {
|
|
4044
|
-
"description": "Device
|
|
4241
|
+
"description": "Device ID",
|
|
4045
4242
|
"type": "string"
|
|
4046
4243
|
}
|
|
4047
4244
|
},
|
|
@@ -4150,11 +4347,11 @@
|
|
|
4150
4347
|
"description": "Target platform"
|
|
4151
4348
|
},
|
|
4152
4349
|
"sessionUuid": {
|
|
4153
|
-
"description": "Session UUID
|
|
4350
|
+
"description": "Session UUID",
|
|
4154
4351
|
"type": "string"
|
|
4155
4352
|
},
|
|
4156
4353
|
"keepScreenAwake": {
|
|
4157
|
-
"description": "Keep
|
|
4354
|
+
"description": "Keep device awake",
|
|
4158
4355
|
"type": "boolean"
|
|
4159
4356
|
},
|
|
4160
4357
|
"device": {
|
|
@@ -4162,7 +4359,7 @@
|
|
|
4162
4359
|
"type": "string"
|
|
4163
4360
|
},
|
|
4164
4361
|
"deviceId": {
|
|
4165
|
-
"description": "Device
|
|
4362
|
+
"description": "Device ID",
|
|
4166
4363
|
"type": "string"
|
|
4167
4364
|
}
|
|
4168
4365
|
},
|
|
@@ -4189,11 +4386,11 @@
|
|
|
4189
4386
|
"description": "Target platform"
|
|
4190
4387
|
},
|
|
4191
4388
|
"sessionUuid": {
|
|
4192
|
-
"description": "Session UUID
|
|
4389
|
+
"description": "Session UUID",
|
|
4193
4390
|
"type": "string"
|
|
4194
4391
|
},
|
|
4195
4392
|
"keepScreenAwake": {
|
|
4196
|
-
"description": "Keep
|
|
4393
|
+
"description": "Keep device awake",
|
|
4197
4394
|
"type": "boolean"
|
|
4198
4395
|
},
|
|
4199
4396
|
"device": {
|
|
@@ -4201,7 +4398,7 @@
|
|
|
4201
4398
|
"type": "string"
|
|
4202
4399
|
},
|
|
4203
4400
|
"deviceId": {
|
|
4204
|
-
"description": "Device
|
|
4401
|
+
"description": "Device ID",
|
|
4205
4402
|
"type": "string"
|
|
4206
4403
|
}
|
|
4207
4404
|
},
|
|
@@ -4231,11 +4428,11 @@
|
|
|
4231
4428
|
"description": "Target platform"
|
|
4232
4429
|
},
|
|
4233
4430
|
"sessionUuid": {
|
|
4234
|
-
"description": "Session UUID
|
|
4431
|
+
"description": "Session UUID",
|
|
4235
4432
|
"type": "string"
|
|
4236
4433
|
},
|
|
4237
4434
|
"keepScreenAwake": {
|
|
4238
|
-
"description": "Keep
|
|
4435
|
+
"description": "Keep device awake",
|
|
4239
4436
|
"type": "boolean"
|
|
4240
4437
|
}
|
|
4241
4438
|
},
|
|
@@ -4246,6 +4443,187 @@
|
|
|
4246
4443
|
"additionalProperties": false
|
|
4247
4444
|
}
|
|
4248
4445
|
},
|
|
4446
|
+
{
|
|
4447
|
+
"name": "setAppPermissions",
|
|
4448
|
+
"description": "Grant, revoke, reset, or configure app permissions on Android devices and iOS simulators",
|
|
4449
|
+
"inputSchema": {
|
|
4450
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4451
|
+
"type": "object",
|
|
4452
|
+
"properties": {
|
|
4453
|
+
"appId": {
|
|
4454
|
+
"type": "string",
|
|
4455
|
+
"description": "App package ID or bundle identifier"
|
|
4456
|
+
},
|
|
4457
|
+
"action": {
|
|
4458
|
+
"description": "Permission action. Defaults to grant. Android runtime permissions currently support grant only; iOS simulators support grant/revoke/reset.",
|
|
4459
|
+
"type": "string",
|
|
4460
|
+
"enum": [
|
|
4461
|
+
"grant",
|
|
4462
|
+
"revoke",
|
|
4463
|
+
"reset"
|
|
4464
|
+
]
|
|
4465
|
+
},
|
|
4466
|
+
"permissions": {
|
|
4467
|
+
"description": "Runtime permissions or simulator privacy services to change",
|
|
4468
|
+
"type": "array",
|
|
4469
|
+
"items": {
|
|
4470
|
+
"type": "string",
|
|
4471
|
+
"minLength": 1
|
|
4472
|
+
}
|
|
4473
|
+
},
|
|
4474
|
+
"userId": {
|
|
4475
|
+
"description": "Android user id for runtime permission grants",
|
|
4476
|
+
"type": "integer",
|
|
4477
|
+
"minimum": 0,
|
|
4478
|
+
"maximum": 9007199254740991
|
|
4479
|
+
},
|
|
4480
|
+
"notificationPolicyAccess": {
|
|
4481
|
+
"description": "Android only: set notification policy / DND access",
|
|
4482
|
+
"type": "boolean"
|
|
4483
|
+
},
|
|
4484
|
+
"scheduleExactAlarm": {
|
|
4485
|
+
"description": "Android only: set UID-level SCHEDULE_EXACT_ALARM appop",
|
|
4486
|
+
"type": "string",
|
|
4487
|
+
"enum": [
|
|
4488
|
+
"allow",
|
|
4489
|
+
"deny"
|
|
4490
|
+
]
|
|
4491
|
+
},
|
|
4492
|
+
"platform": {
|
|
4493
|
+
"type": "string",
|
|
4494
|
+
"enum": [
|
|
4495
|
+
"android",
|
|
4496
|
+
"ios"
|
|
4497
|
+
],
|
|
4498
|
+
"description": "Target platform"
|
|
4499
|
+
},
|
|
4500
|
+
"sessionUuid": {
|
|
4501
|
+
"description": "Session UUID",
|
|
4502
|
+
"type": "string"
|
|
4503
|
+
},
|
|
4504
|
+
"keepScreenAwake": {
|
|
4505
|
+
"description": "Keep device awake",
|
|
4506
|
+
"type": "boolean"
|
|
4507
|
+
},
|
|
4508
|
+
"device": {
|
|
4509
|
+
"description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
|
|
4510
|
+
"type": "string"
|
|
4511
|
+
},
|
|
4512
|
+
"deviceId": {
|
|
4513
|
+
"description": "Device ID",
|
|
4514
|
+
"type": "string"
|
|
4515
|
+
}
|
|
4516
|
+
},
|
|
4517
|
+
"required": [
|
|
4518
|
+
"appId"
|
|
4519
|
+
],
|
|
4520
|
+
"additionalProperties": false
|
|
4521
|
+
}
|
|
4522
|
+
},
|
|
4523
|
+
{
|
|
4524
|
+
"name": "setDeviceState",
|
|
4525
|
+
"description": "Set device-level state such as Do Not Disturb",
|
|
4526
|
+
"inputSchema": {
|
|
4527
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4528
|
+
"type": "object",
|
|
4529
|
+
"properties": {
|
|
4530
|
+
"doNotDisturb": {
|
|
4531
|
+
"description": "Do Not Disturb state to apply.",
|
|
4532
|
+
"type": "object",
|
|
4533
|
+
"properties": {
|
|
4534
|
+
"enabled": {
|
|
4535
|
+
"description": "Enable or disable Do Not Disturb. If true without mode, uses the strictest available DND mode.",
|
|
4536
|
+
"type": "boolean"
|
|
4537
|
+
},
|
|
4538
|
+
"mode": {
|
|
4539
|
+
"description": "Do Not Disturb mode: off, none/total silence, priority, or alarms.",
|
|
4540
|
+
"type": "string",
|
|
4541
|
+
"enum": [
|
|
4542
|
+
"off",
|
|
4543
|
+
"none",
|
|
4544
|
+
"priority",
|
|
4545
|
+
"alarms"
|
|
4546
|
+
]
|
|
4547
|
+
}
|
|
4548
|
+
},
|
|
4549
|
+
"additionalProperties": false
|
|
4550
|
+
},
|
|
4551
|
+
"platform": {
|
|
4552
|
+
"type": "string",
|
|
4553
|
+
"enum": [
|
|
4554
|
+
"android",
|
|
4555
|
+
"ios"
|
|
4556
|
+
],
|
|
4557
|
+
"description": "Target platform"
|
|
4558
|
+
},
|
|
4559
|
+
"sessionUuid": {
|
|
4560
|
+
"description": "Session UUID",
|
|
4561
|
+
"type": "string"
|
|
4562
|
+
},
|
|
4563
|
+
"keepScreenAwake": {
|
|
4564
|
+
"description": "Keep device awake",
|
|
4565
|
+
"type": "boolean"
|
|
4566
|
+
},
|
|
4567
|
+
"device": {
|
|
4568
|
+
"description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
|
|
4569
|
+
"type": "string"
|
|
4570
|
+
},
|
|
4571
|
+
"deviceId": {
|
|
4572
|
+
"description": "Device ID",
|
|
4573
|
+
"type": "string"
|
|
4574
|
+
}
|
|
4575
|
+
},
|
|
4576
|
+
"additionalProperties": false
|
|
4577
|
+
}
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"name": "setNotificationPolicy",
|
|
4581
|
+
"description": "Set app notification policy state, including Android Do Not Disturb policy access",
|
|
4582
|
+
"inputSchema": {
|
|
4583
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4584
|
+
"type": "object",
|
|
4585
|
+
"properties": {
|
|
4586
|
+
"appId": {
|
|
4587
|
+
"type": "string",
|
|
4588
|
+
"minLength": 1,
|
|
4589
|
+
"description": "App package ID or bundle identifier"
|
|
4590
|
+
},
|
|
4591
|
+
"policyAccess": {
|
|
4592
|
+
"type": "boolean",
|
|
4593
|
+
"description": "Android only: allow or revoke app notification policy / DND access"
|
|
4594
|
+
},
|
|
4595
|
+
"platform": {
|
|
4596
|
+
"type": "string",
|
|
4597
|
+
"enum": [
|
|
4598
|
+
"android",
|
|
4599
|
+
"ios"
|
|
4600
|
+
],
|
|
4601
|
+
"description": "Target platform"
|
|
4602
|
+
},
|
|
4603
|
+
"sessionUuid": {
|
|
4604
|
+
"description": "Session UUID",
|
|
4605
|
+
"type": "string"
|
|
4606
|
+
},
|
|
4607
|
+
"keepScreenAwake": {
|
|
4608
|
+
"description": "Keep device awake",
|
|
4609
|
+
"type": "boolean"
|
|
4610
|
+
},
|
|
4611
|
+
"device": {
|
|
4612
|
+
"description": "Device label for multi-device plans (e.g., \"A\", \"B\")",
|
|
4613
|
+
"type": "string"
|
|
4614
|
+
},
|
|
4615
|
+
"deviceId": {
|
|
4616
|
+
"description": "Device ID",
|
|
4617
|
+
"type": "string"
|
|
4618
|
+
}
|
|
4619
|
+
},
|
|
4620
|
+
"required": [
|
|
4621
|
+
"appId",
|
|
4622
|
+
"policyAccess"
|
|
4623
|
+
],
|
|
4624
|
+
"additionalProperties": false
|
|
4625
|
+
}
|
|
4626
|
+
},
|
|
4249
4627
|
{
|
|
4250
4628
|
"name": "shake",
|
|
4251
4629
|
"description": "Shake device",
|
|
@@ -4270,11 +4648,11 @@
|
|
|
4270
4648
|
"description": "Target platform"
|
|
4271
4649
|
},
|
|
4272
4650
|
"sessionUuid": {
|
|
4273
|
-
"description": "Session UUID
|
|
4651
|
+
"description": "Session UUID",
|
|
4274
4652
|
"type": "string"
|
|
4275
4653
|
},
|
|
4276
4654
|
"keepScreenAwake": {
|
|
4277
|
-
"description": "Keep
|
|
4655
|
+
"description": "Keep device awake",
|
|
4278
4656
|
"type": "boolean"
|
|
4279
4657
|
},
|
|
4280
4658
|
"device": {
|
|
@@ -4282,7 +4660,7 @@
|
|
|
4282
4660
|
"type": "string"
|
|
4283
4661
|
},
|
|
4284
4662
|
"deviceId": {
|
|
4285
|
-
"description": "Device
|
|
4663
|
+
"description": "Device ID",
|
|
4286
4664
|
"type": "string"
|
|
4287
4665
|
}
|
|
4288
4666
|
},
|
|
@@ -4532,11 +4910,11 @@
|
|
|
4532
4910
|
"description": "Target platform"
|
|
4533
4911
|
},
|
|
4534
4912
|
"sessionUuid": {
|
|
4535
|
-
"description": "Session UUID
|
|
4913
|
+
"description": "Session UUID",
|
|
4536
4914
|
"type": "string"
|
|
4537
4915
|
},
|
|
4538
4916
|
"keepScreenAwake": {
|
|
4539
|
-
"description": "Keep
|
|
4917
|
+
"description": "Keep device awake",
|
|
4540
4918
|
"type": "boolean"
|
|
4541
4919
|
},
|
|
4542
4920
|
"device": {
|
|
@@ -4544,7 +4922,7 @@
|
|
|
4544
4922
|
"type": "string"
|
|
4545
4923
|
},
|
|
4546
4924
|
"deviceId": {
|
|
4547
|
-
"description": "Device
|
|
4925
|
+
"description": "Device ID",
|
|
4548
4926
|
"type": "string"
|
|
4549
4927
|
}
|
|
4550
4928
|
},
|
|
@@ -5402,7 +5780,7 @@
|
|
|
5402
5780
|
},
|
|
5403
5781
|
{
|
|
5404
5782
|
"name": "systemTray",
|
|
5405
|
-
"description": "System tray actions for notifications (open/find/tap/dismiss/clearAll)",
|
|
5783
|
+
"description": "System tray actions for notifications (open/close/find/tap/dismiss/clearAll)",
|
|
5406
5784
|
"inputSchema": {
|
|
5407
5785
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
5408
5786
|
"type": "object",
|
|
@@ -5411,12 +5789,13 @@
|
|
|
5411
5789
|
"type": "string",
|
|
5412
5790
|
"enum": [
|
|
5413
5791
|
"open",
|
|
5792
|
+
"close",
|
|
5414
5793
|
"find",
|
|
5415
5794
|
"tap",
|
|
5416
5795
|
"dismiss",
|
|
5417
5796
|
"clearAll"
|
|
5418
5797
|
],
|
|
5419
|
-
"description": "Action: open=expand tray, find=search for notification, tap=tap notification, dismiss=swipe away, clearAll=dismiss all for app"
|
|
5798
|
+
"description": "Action: open=expand tray, close=collapse tray/shade, find=search for notification, tap=tap notification, dismiss=swipe away, clearAll=dismiss all for app"
|
|
5420
5799
|
},
|
|
5421
5800
|
"notification": {
|
|
5422
5801
|
"description": "Notification criteria to match",
|
|
@@ -5454,11 +5833,11 @@
|
|
|
5454
5833
|
"description": "Target platform"
|
|
5455
5834
|
},
|
|
5456
5835
|
"sessionUuid": {
|
|
5457
|
-
"description": "Session UUID
|
|
5836
|
+
"description": "Session UUID",
|
|
5458
5837
|
"type": "string"
|
|
5459
5838
|
},
|
|
5460
5839
|
"keepScreenAwake": {
|
|
5461
|
-
"description": "Keep
|
|
5840
|
+
"description": "Keep device awake",
|
|
5462
5841
|
"type": "boolean"
|
|
5463
5842
|
},
|
|
5464
5843
|
"device": {
|
|
@@ -5466,7 +5845,7 @@
|
|
|
5466
5845
|
"type": "string"
|
|
5467
5846
|
},
|
|
5468
5847
|
"deviceId": {
|
|
5469
|
-
"description": "Device
|
|
5848
|
+
"description": "Device ID",
|
|
5470
5849
|
"type": "string"
|
|
5471
5850
|
}
|
|
5472
5851
|
},
|
|
@@ -5551,6 +5930,10 @@
|
|
|
5551
5930
|
},
|
|
5552
5931
|
"additionalProperties": false
|
|
5553
5932
|
},
|
|
5933
|
+
"preTapStability": {
|
|
5934
|
+
"description": "When true, refresh the accessibility hierarchy before tapping and require consecutive re-finds with stable bounds before dispatching the gesture. Prevents tapping stale coordinates when the UI is still settling (loading overlays, list refreshes, keyboard). Recommended for search result lists and dynamic content.",
|
|
5935
|
+
"type": "boolean"
|
|
5936
|
+
},
|
|
5554
5937
|
"platform": {
|
|
5555
5938
|
"type": "string",
|
|
5556
5939
|
"enum": [
|
|
@@ -5568,11 +5951,11 @@
|
|
|
5568
5951
|
"description": "Element text"
|
|
5569
5952
|
},
|
|
5570
5953
|
"sessionUuid": {
|
|
5571
|
-
"description": "Session UUID
|
|
5954
|
+
"description": "Session UUID",
|
|
5572
5955
|
"type": "string"
|
|
5573
5956
|
},
|
|
5574
5957
|
"keepScreenAwake": {
|
|
5575
|
-
"description": "Keep
|
|
5958
|
+
"description": "Keep device awake",
|
|
5576
5959
|
"type": "boolean"
|
|
5577
5960
|
},
|
|
5578
5961
|
"device": {
|
|
@@ -5580,7 +5963,7 @@
|
|
|
5580
5963
|
"type": "string"
|
|
5581
5964
|
},
|
|
5582
5965
|
"deviceId": {
|
|
5583
|
-
"description": "Device
|
|
5966
|
+
"description": "Device ID",
|
|
5584
5967
|
"type": "string"
|
|
5585
5968
|
},
|
|
5586
5969
|
"tapClickableParent": {
|
|
@@ -6590,12 +6973,20 @@
|
|
|
6590
6973
|
"type": "string",
|
|
6591
6974
|
"description": "App package ID"
|
|
6592
6975
|
},
|
|
6976
|
+
"platform": {
|
|
6977
|
+
"type": "string",
|
|
6978
|
+
"enum": [
|
|
6979
|
+
"android",
|
|
6980
|
+
"ios"
|
|
6981
|
+
],
|
|
6982
|
+
"description": "Target platform"
|
|
6983
|
+
},
|
|
6593
6984
|
"sessionUuid": {
|
|
6594
|
-
"description": "Session UUID
|
|
6985
|
+
"description": "Session UUID",
|
|
6595
6986
|
"type": "string"
|
|
6596
6987
|
},
|
|
6597
6988
|
"keepScreenAwake": {
|
|
6598
|
-
"description": "Keep
|
|
6989
|
+
"description": "Keep device awake",
|
|
6599
6990
|
"type": "boolean"
|
|
6600
6991
|
},
|
|
6601
6992
|
"device": {
|
|
@@ -6603,7 +6994,7 @@
|
|
|
6603
6994
|
"type": "string"
|
|
6604
6995
|
},
|
|
6605
6996
|
"deviceId": {
|
|
6606
|
-
"description": "Device
|
|
6997
|
+
"description": "Device ID",
|
|
6607
6998
|
"type": "string"
|
|
6608
6999
|
}
|
|
6609
7000
|
},
|
|
@@ -6628,12 +7019,20 @@
|
|
|
6628
7019
|
"description": "Keep app data after uninstall (Android only, default false)",
|
|
6629
7020
|
"type": "boolean"
|
|
6630
7021
|
},
|
|
7022
|
+
"platform": {
|
|
7023
|
+
"type": "string",
|
|
7024
|
+
"enum": [
|
|
7025
|
+
"android",
|
|
7026
|
+
"ios"
|
|
7027
|
+
],
|
|
7028
|
+
"description": "Target platform"
|
|
7029
|
+
},
|
|
6631
7030
|
"sessionUuid": {
|
|
6632
|
-
"description": "Session UUID
|
|
7031
|
+
"description": "Session UUID",
|
|
6633
7032
|
"type": "string"
|
|
6634
7033
|
},
|
|
6635
7034
|
"keepScreenAwake": {
|
|
6636
|
-
"description": "Keep
|
|
7035
|
+
"description": "Keep device awake",
|
|
6637
7036
|
"type": "boolean"
|
|
6638
7037
|
},
|
|
6639
7038
|
"device": {
|
|
@@ -6641,7 +7040,7 @@
|
|
|
6641
7040
|
"type": "string"
|
|
6642
7041
|
},
|
|
6643
7042
|
"deviceId": {
|
|
6644
|
-
"description": "Device
|
|
7043
|
+
"description": "Device ID",
|
|
6645
7044
|
"type": "string"
|
|
6646
7045
|
}
|
|
6647
7046
|
},
|
|
@@ -6675,7 +7074,7 @@
|
|
|
6675
7074
|
"description": "Target platform"
|
|
6676
7075
|
},
|
|
6677
7076
|
"deviceId": {
|
|
6678
|
-
"description": "Device
|
|
7077
|
+
"description": "Device ID",
|
|
6679
7078
|
"type": "string"
|
|
6680
7079
|
},
|
|
6681
7080
|
"recordingId": {
|
|
@@ -7345,11 +7744,11 @@
|
|
|
7345
7744
|
}
|
|
7346
7745
|
},
|
|
7347
7746
|
"sessionUuid": {
|
|
7348
|
-
"description": "Session UUID
|
|
7747
|
+
"description": "Session UUID",
|
|
7349
7748
|
"type": "string"
|
|
7350
7749
|
},
|
|
7351
7750
|
"keepScreenAwake": {
|
|
7352
|
-
"description": "Keep
|
|
7751
|
+
"description": "Keep device awake",
|
|
7353
7752
|
"type": "boolean"
|
|
7354
7753
|
},
|
|
7355
7754
|
"device": {
|