@appium/base-driver 9.1.0 → 9.3.0
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/build/lib/basedriver/capabilities.d.ts +1 -1
- package/build/lib/basedriver/capabilities.d.ts.map +1 -1
- package/build/lib/basedriver/capabilities.js +1 -1
- package/build/lib/basedriver/commands/execute.d.ts.map +1 -1
- package/build/lib/basedriver/commands/execute.js +2 -24
- package/build/lib/basedriver/commands/execute.js.map +1 -1
- package/build/lib/basedriver/commands/session.d.ts.map +1 -1
- package/build/lib/basedriver/commands/session.js +1 -0
- package/build/lib/basedriver/commands/session.js.map +1 -1
- package/build/lib/basedriver/driver.d.ts.map +1 -1
- package/build/lib/basedriver/driver.js +1 -1
- package/build/lib/basedriver/driver.js.map +1 -1
- package/build/lib/index.d.ts +1 -1
- package/build/lib/index.d.ts.map +1 -1
- package/build/lib/index.js +2 -1
- package/build/lib/index.js.map +1 -1
- package/build/lib/protocol/index.d.ts +2 -1
- package/build/lib/protocol/index.js +2 -1
- package/build/lib/protocol/index.js.map +1 -1
- package/build/lib/protocol/protocol.d.ts +3 -0
- package/build/lib/protocol/protocol.d.ts.map +1 -1
- package/build/lib/protocol/protocol.js +36 -1
- package/build/lib/protocol/protocol.js.map +1 -1
- package/build/lib/protocol/routes.d.ts +123 -26
- package/build/lib/protocol/routes.d.ts.map +1 -1
- package/build/lib/protocol/routes.js +91 -94
- package/build/lib/protocol/routes.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/lib/basedriver/capabilities.js +1 -1
- package/lib/basedriver/commands/execute.js +3 -28
- package/lib/basedriver/commands/session.js +1 -0
- package/lib/basedriver/driver.js +2 -7
- package/lib/index.js +1 -0
- package/lib/protocol/index.js +2 -0
- package/lib/protocol/protocol.js +43 -0
- package/lib/protocol/routes.js +91 -97
- package/package.json +9 -7
- package/tsconfig.json +14 -0
|
@@ -49,6 +49,7 @@ export const METHOD_MAP: {
|
|
|
49
49
|
readonly payloadParams: {
|
|
50
50
|
readonly required: readonly ["ms"];
|
|
51
51
|
};
|
|
52
|
+
readonly deprecated: true;
|
|
52
53
|
};
|
|
53
54
|
};
|
|
54
55
|
readonly '/session/:sessionId/timeouts/implicit_wait': {
|
|
@@ -57,6 +58,7 @@ export const METHOD_MAP: {
|
|
|
57
58
|
readonly payloadParams: {
|
|
58
59
|
readonly required: readonly ["ms"];
|
|
59
60
|
};
|
|
61
|
+
readonly deprecated: true;
|
|
60
62
|
};
|
|
61
63
|
};
|
|
62
64
|
readonly '/session/:sessionId/window_handle': {
|
|
@@ -129,21 +131,25 @@ export const METHOD_MAP: {
|
|
|
129
131
|
readonly '/session/:sessionId/ime/available_engines': {
|
|
130
132
|
readonly GET: {
|
|
131
133
|
readonly command: "availableIMEEngines";
|
|
134
|
+
readonly deprecated: true;
|
|
132
135
|
};
|
|
133
136
|
};
|
|
134
137
|
readonly '/session/:sessionId/ime/active_engine': {
|
|
135
138
|
readonly GET: {
|
|
136
139
|
readonly command: "getActiveIMEEngine";
|
|
140
|
+
readonly deprecated: true;
|
|
137
141
|
};
|
|
138
142
|
};
|
|
139
143
|
readonly '/session/:sessionId/ime/activated': {
|
|
140
144
|
readonly GET: {
|
|
141
145
|
readonly command: "isIMEActivated";
|
|
146
|
+
readonly deprecated: true;
|
|
142
147
|
};
|
|
143
148
|
};
|
|
144
149
|
readonly '/session/:sessionId/ime/deactivate': {
|
|
145
150
|
readonly POST: {
|
|
146
151
|
readonly command: "deactivateIMEEngine";
|
|
152
|
+
readonly deprecated: true;
|
|
147
153
|
};
|
|
148
154
|
};
|
|
149
155
|
readonly '/session/:sessionId/ime/activate': {
|
|
@@ -152,6 +158,7 @@ export const METHOD_MAP: {
|
|
|
152
158
|
readonly payloadParams: {
|
|
153
159
|
readonly required: readonly ["engine"];
|
|
154
160
|
};
|
|
161
|
+
readonly deprecated: true;
|
|
155
162
|
};
|
|
156
163
|
};
|
|
157
164
|
readonly '/session/:sessionId/frame': {
|
|
@@ -163,7 +170,9 @@ export const METHOD_MAP: {
|
|
|
163
170
|
};
|
|
164
171
|
};
|
|
165
172
|
readonly '/session/:sessionId/frame/parent': {
|
|
166
|
-
readonly POST: {
|
|
173
|
+
readonly POST: {
|
|
174
|
+
readonly command: "switchToParentFrame";
|
|
175
|
+
};
|
|
167
176
|
};
|
|
168
177
|
readonly '/session/:sessionId/window': {
|
|
169
178
|
readonly GET: {
|
|
@@ -184,12 +193,16 @@ export const METHOD_MAP: {
|
|
|
184
193
|
readonly '/session/:sessionId/window/:windowhandle/size': {
|
|
185
194
|
readonly GET: {
|
|
186
195
|
readonly command: "getWindowSize";
|
|
196
|
+
readonly deprecated: true;
|
|
187
197
|
};
|
|
188
|
-
readonly POST: {};
|
|
189
198
|
};
|
|
190
199
|
readonly '/session/:sessionId/window/:windowhandle/position': {
|
|
191
|
-
readonly POST: {
|
|
192
|
-
|
|
200
|
+
readonly POST: {
|
|
201
|
+
readonly deprecated: true;
|
|
202
|
+
};
|
|
203
|
+
readonly GET: {
|
|
204
|
+
readonly deprecated: true;
|
|
205
|
+
};
|
|
193
206
|
};
|
|
194
207
|
readonly '/session/:sessionId/window/:windowhandle/maximize': {
|
|
195
208
|
readonly POST: {
|
|
@@ -279,6 +292,7 @@ export const METHOD_MAP: {
|
|
|
279
292
|
readonly '/session/:sessionId/element/:elementId/submit': {
|
|
280
293
|
readonly POST: {
|
|
281
294
|
readonly command: "submit";
|
|
295
|
+
readonly deprecated: true;
|
|
282
296
|
};
|
|
283
297
|
};
|
|
284
298
|
readonly '/session/:sessionId/element/:elementId/text': {
|
|
@@ -302,6 +316,7 @@ export const METHOD_MAP: {
|
|
|
302
316
|
readonly payloadParams: {
|
|
303
317
|
readonly required: readonly ["value"];
|
|
304
318
|
};
|
|
319
|
+
readonly deprecated: true;
|
|
305
320
|
};
|
|
306
321
|
};
|
|
307
322
|
readonly '/session/:sessionId/element/:elementId/name': {
|
|
@@ -332,6 +347,7 @@ export const METHOD_MAP: {
|
|
|
332
347
|
readonly '/session/:sessionId/element/:elementId/equals/:otherId': {
|
|
333
348
|
readonly GET: {
|
|
334
349
|
readonly command: "equalsElement";
|
|
350
|
+
readonly deprecated: true;
|
|
335
351
|
};
|
|
336
352
|
};
|
|
337
353
|
readonly '/session/:sessionId/element/:elementId/displayed': {
|
|
@@ -342,16 +358,19 @@ export const METHOD_MAP: {
|
|
|
342
358
|
readonly '/session/:sessionId/element/:elementId/location': {
|
|
343
359
|
readonly GET: {
|
|
344
360
|
readonly command: "getLocation";
|
|
361
|
+
readonly deprecated: true;
|
|
345
362
|
};
|
|
346
363
|
};
|
|
347
364
|
readonly '/session/:sessionId/element/:elementId/location_in_view': {
|
|
348
365
|
readonly GET: {
|
|
349
366
|
readonly command: "getLocationInView";
|
|
367
|
+
readonly deprecated: true;
|
|
350
368
|
};
|
|
351
369
|
};
|
|
352
370
|
readonly '/session/:sessionId/element/:elementId/size': {
|
|
353
371
|
readonly GET: {
|
|
354
372
|
readonly command: "getSize";
|
|
373
|
+
readonly deprecated: true;
|
|
355
374
|
};
|
|
356
375
|
};
|
|
357
376
|
readonly '/session/:sessionId/element/:elementId/shadow': {
|
|
@@ -418,6 +437,7 @@ export const METHOD_MAP: {
|
|
|
418
437
|
readonly payloadParams: {
|
|
419
438
|
readonly optional: readonly ["element", "xoffset", "yoffset"];
|
|
420
439
|
};
|
|
440
|
+
readonly deprecated: true;
|
|
421
441
|
};
|
|
422
442
|
};
|
|
423
443
|
readonly '/session/:sessionId/click': {
|
|
@@ -426,6 +446,7 @@ export const METHOD_MAP: {
|
|
|
426
446
|
readonly payloadParams: {
|
|
427
447
|
readonly optional: readonly ["button"];
|
|
428
448
|
};
|
|
449
|
+
readonly deprecated: true;
|
|
429
450
|
};
|
|
430
451
|
};
|
|
431
452
|
readonly '/session/:sessionId/buttondown': {
|
|
@@ -434,6 +455,7 @@ export const METHOD_MAP: {
|
|
|
434
455
|
readonly payloadParams: {
|
|
435
456
|
readonly optional: readonly ["button"];
|
|
436
457
|
};
|
|
458
|
+
readonly deprecated: true;
|
|
437
459
|
};
|
|
438
460
|
};
|
|
439
461
|
readonly '/session/:sessionId/buttonup': {
|
|
@@ -442,11 +464,13 @@ export const METHOD_MAP: {
|
|
|
442
464
|
readonly payloadParams: {
|
|
443
465
|
readonly optional: readonly ["button"];
|
|
444
466
|
};
|
|
467
|
+
readonly deprecated: true;
|
|
445
468
|
};
|
|
446
469
|
};
|
|
447
470
|
readonly '/session/:sessionId/doubleclick': {
|
|
448
471
|
readonly POST: {
|
|
449
472
|
readonly command: "doubleClick";
|
|
473
|
+
readonly deprecated: true;
|
|
450
474
|
};
|
|
451
475
|
};
|
|
452
476
|
readonly '/session/:sessionId/touch/click': {
|
|
@@ -455,6 +479,7 @@ export const METHOD_MAP: {
|
|
|
455
479
|
readonly payloadParams: {
|
|
456
480
|
readonly required: readonly ["element"];
|
|
457
481
|
};
|
|
482
|
+
readonly deprecated: true;
|
|
458
483
|
};
|
|
459
484
|
};
|
|
460
485
|
readonly '/session/:sessionId/touch/down': {
|
|
@@ -463,6 +488,7 @@ export const METHOD_MAP: {
|
|
|
463
488
|
readonly payloadParams: {
|
|
464
489
|
readonly required: readonly ["x", "y"];
|
|
465
490
|
};
|
|
491
|
+
readonly deprecated: true;
|
|
466
492
|
};
|
|
467
493
|
};
|
|
468
494
|
readonly '/session/:sessionId/touch/up': {
|
|
@@ -471,6 +497,7 @@ export const METHOD_MAP: {
|
|
|
471
497
|
readonly payloadParams: {
|
|
472
498
|
readonly required: readonly ["x", "y"];
|
|
473
499
|
};
|
|
500
|
+
readonly deprecated: true;
|
|
474
501
|
};
|
|
475
502
|
};
|
|
476
503
|
readonly '/session/:sessionId/touch/move': {
|
|
@@ -479,10 +506,13 @@ export const METHOD_MAP: {
|
|
|
479
506
|
readonly payloadParams: {
|
|
480
507
|
readonly required: readonly ["x", "y"];
|
|
481
508
|
};
|
|
509
|
+
readonly deprecated: true;
|
|
482
510
|
};
|
|
483
511
|
};
|
|
484
512
|
readonly '/session/:sessionId/touch/scroll': {
|
|
485
|
-
readonly POST: {
|
|
513
|
+
readonly POST: {
|
|
514
|
+
readonly deprecated: true;
|
|
515
|
+
};
|
|
486
516
|
};
|
|
487
517
|
readonly '/session/:sessionId/touch/doubleclick': {
|
|
488
518
|
readonly POST: {};
|
|
@@ -504,6 +534,7 @@ export const METHOD_MAP: {
|
|
|
504
534
|
readonly payloadParams: {
|
|
505
535
|
readonly required: readonly ["elements"];
|
|
506
536
|
};
|
|
537
|
+
readonly deprecated: true;
|
|
507
538
|
};
|
|
508
539
|
};
|
|
509
540
|
readonly '/session/:sessionId/touch/flick': {
|
|
@@ -512,6 +543,7 @@ export const METHOD_MAP: {
|
|
|
512
543
|
readonly payloadParams: {
|
|
513
544
|
readonly optional: readonly ["element", "xspeed", "yspeed", "xoffset", "yoffset", "speed"];
|
|
514
545
|
};
|
|
546
|
+
readonly deprecated: true;
|
|
515
547
|
};
|
|
516
548
|
};
|
|
517
549
|
readonly '/session/:sessionId/location': {
|
|
@@ -526,28 +558,52 @@ export const METHOD_MAP: {
|
|
|
526
558
|
};
|
|
527
559
|
};
|
|
528
560
|
readonly '/session/:sessionId/local_storage': {
|
|
529
|
-
readonly GET: {
|
|
530
|
-
|
|
531
|
-
|
|
561
|
+
readonly GET: {
|
|
562
|
+
readonly deprecated: true;
|
|
563
|
+
};
|
|
564
|
+
readonly POST: {
|
|
565
|
+
readonly deprecated: true;
|
|
566
|
+
};
|
|
567
|
+
readonly DELETE: {
|
|
568
|
+
readonly deprecated: true;
|
|
569
|
+
};
|
|
532
570
|
};
|
|
533
571
|
readonly '/session/:sessionId/local_storage/key/:key': {
|
|
534
|
-
readonly GET: {
|
|
535
|
-
|
|
572
|
+
readonly GET: {
|
|
573
|
+
readonly deprecated: true;
|
|
574
|
+
};
|
|
575
|
+
readonly DELETE: {
|
|
576
|
+
readonly deprecated: true;
|
|
577
|
+
};
|
|
536
578
|
};
|
|
537
579
|
readonly '/session/:sessionId/local_storage/size': {
|
|
538
|
-
readonly GET: {
|
|
580
|
+
readonly GET: {
|
|
581
|
+
readonly deprecated: true;
|
|
582
|
+
};
|
|
539
583
|
};
|
|
540
584
|
readonly '/session/:sessionId/session_storage': {
|
|
541
|
-
readonly GET: {
|
|
542
|
-
|
|
543
|
-
|
|
585
|
+
readonly GET: {
|
|
586
|
+
readonly deprecated: true;
|
|
587
|
+
};
|
|
588
|
+
readonly POST: {
|
|
589
|
+
readonly deprecated: true;
|
|
590
|
+
};
|
|
591
|
+
readonly DELETE: {
|
|
592
|
+
readonly deprecated: true;
|
|
593
|
+
};
|
|
544
594
|
};
|
|
545
595
|
readonly '/session/:sessionId/session_storage/key/:key': {
|
|
546
|
-
readonly GET: {
|
|
547
|
-
|
|
596
|
+
readonly GET: {
|
|
597
|
+
readonly deprecated: true;
|
|
598
|
+
};
|
|
599
|
+
readonly DELETE: {
|
|
600
|
+
readonly deprecated: true;
|
|
601
|
+
};
|
|
548
602
|
};
|
|
549
603
|
readonly '/session/:sessionId/session_storage/size': {
|
|
550
|
-
readonly GET: {
|
|
604
|
+
readonly GET: {
|
|
605
|
+
readonly deprecated: true;
|
|
606
|
+
};
|
|
551
607
|
};
|
|
552
608
|
readonly '/session/:sessionId/se/log': {
|
|
553
609
|
readonly POST: {
|
|
@@ -597,6 +653,7 @@ export const METHOD_MAP: {
|
|
|
597
653
|
readonly '/session/:sessionId/element/:elementId/pageIndex': {
|
|
598
654
|
readonly GET: {
|
|
599
655
|
readonly command: "getPageIndex";
|
|
656
|
+
readonly deprecated: true;
|
|
600
657
|
};
|
|
601
658
|
};
|
|
602
659
|
readonly '/session/:sessionId/network_connection': {
|
|
@@ -618,6 +675,7 @@ export const METHOD_MAP: {
|
|
|
618
675
|
readonly wrap: "actions";
|
|
619
676
|
readonly required: readonly ["actions"];
|
|
620
677
|
};
|
|
678
|
+
readonly deprecated: true;
|
|
621
679
|
};
|
|
622
680
|
};
|
|
623
681
|
readonly '/session/:sessionId/touch/multi/perform': {
|
|
@@ -627,6 +685,7 @@ export const METHOD_MAP: {
|
|
|
627
685
|
readonly required: readonly ["actions"];
|
|
628
686
|
readonly optional: readonly ["elementId"];
|
|
629
687
|
};
|
|
688
|
+
readonly deprecated: true;
|
|
630
689
|
};
|
|
631
690
|
};
|
|
632
691
|
readonly '/session/:sessionId/receive_async_response': {
|
|
@@ -640,6 +699,7 @@ export const METHOD_MAP: {
|
|
|
640
699
|
readonly '/session/:sessionId/appium/device/shake': {
|
|
641
700
|
readonly POST: {
|
|
642
701
|
readonly command: "mobileShake";
|
|
702
|
+
readonly deprecated: true;
|
|
643
703
|
};
|
|
644
704
|
};
|
|
645
705
|
readonly '/session/:sessionId/appium/device/system_time': {
|
|
@@ -662,16 +722,19 @@ export const METHOD_MAP: {
|
|
|
662
722
|
readonly payloadParams: {
|
|
663
723
|
readonly optional: readonly ["seconds"];
|
|
664
724
|
};
|
|
725
|
+
readonly deprecated: true;
|
|
665
726
|
};
|
|
666
727
|
};
|
|
667
728
|
readonly '/session/:sessionId/appium/device/unlock': {
|
|
668
729
|
readonly POST: {
|
|
669
730
|
readonly command: "unlock";
|
|
731
|
+
readonly deprecated: true;
|
|
670
732
|
};
|
|
671
733
|
};
|
|
672
734
|
readonly '/session/:sessionId/appium/device/is_locked': {
|
|
673
735
|
readonly POST: {
|
|
674
736
|
readonly command: "isLocked";
|
|
737
|
+
readonly deprecated: true;
|
|
675
738
|
};
|
|
676
739
|
};
|
|
677
740
|
readonly '/session/:sessionId/appium/start_recording_screen': {
|
|
@@ -680,6 +743,7 @@ export const METHOD_MAP: {
|
|
|
680
743
|
readonly payloadParams: {
|
|
681
744
|
readonly optional: readonly ["options"];
|
|
682
745
|
};
|
|
746
|
+
readonly deprecated: true;
|
|
683
747
|
};
|
|
684
748
|
};
|
|
685
749
|
readonly '/session/:sessionId/appium/stop_recording_screen': {
|
|
@@ -688,11 +752,13 @@ export const METHOD_MAP: {
|
|
|
688
752
|
readonly payloadParams: {
|
|
689
753
|
readonly optional: readonly ["options"];
|
|
690
754
|
};
|
|
755
|
+
readonly deprecated: true;
|
|
691
756
|
};
|
|
692
757
|
};
|
|
693
758
|
readonly '/session/:sessionId/appium/performanceData/types': {
|
|
694
759
|
readonly POST: {
|
|
695
760
|
readonly command: "getPerformanceDataTypes";
|
|
761
|
+
readonly deprecated: true;
|
|
696
762
|
};
|
|
697
763
|
};
|
|
698
764
|
readonly '/session/:sessionId/appium/getPerformanceData': {
|
|
@@ -702,6 +768,7 @@ export const METHOD_MAP: {
|
|
|
702
768
|
readonly required: readonly ["packageName", "dataType"];
|
|
703
769
|
readonly optional: readonly ["dataReadTimeout"];
|
|
704
770
|
};
|
|
771
|
+
readonly deprecated: true;
|
|
705
772
|
};
|
|
706
773
|
};
|
|
707
774
|
readonly '/session/:sessionId/appium/device/press_keycode': {
|
|
@@ -711,6 +778,7 @@ export const METHOD_MAP: {
|
|
|
711
778
|
readonly required: readonly ["keycode"];
|
|
712
779
|
readonly optional: readonly ["metastate", "flags"];
|
|
713
780
|
};
|
|
781
|
+
readonly deprecated: true;
|
|
714
782
|
};
|
|
715
783
|
};
|
|
716
784
|
readonly '/session/:sessionId/appium/device/long_press_keycode': {
|
|
@@ -720,6 +788,7 @@ export const METHOD_MAP: {
|
|
|
720
788
|
readonly required: readonly ["keycode"];
|
|
721
789
|
readonly optional: readonly ["metastate", "flags"];
|
|
722
790
|
};
|
|
791
|
+
readonly deprecated: true;
|
|
723
792
|
};
|
|
724
793
|
};
|
|
725
794
|
readonly '/session/:sessionId/appium/device/finger_print': {
|
|
@@ -728,6 +797,7 @@ export const METHOD_MAP: {
|
|
|
728
797
|
readonly payloadParams: {
|
|
729
798
|
readonly required: readonly ["fingerprintId"];
|
|
730
799
|
};
|
|
800
|
+
readonly deprecated: true;
|
|
731
801
|
};
|
|
732
802
|
};
|
|
733
803
|
readonly '/session/:sessionId/appium/device/send_sms': {
|
|
@@ -736,6 +806,7 @@ export const METHOD_MAP: {
|
|
|
736
806
|
readonly payloadParams: {
|
|
737
807
|
readonly required: readonly ["phoneNumber", "message"];
|
|
738
808
|
};
|
|
809
|
+
readonly deprecated: true;
|
|
739
810
|
};
|
|
740
811
|
};
|
|
741
812
|
readonly '/session/:sessionId/appium/device/gsm_call': {
|
|
@@ -744,16 +815,16 @@ export const METHOD_MAP: {
|
|
|
744
815
|
readonly payloadParams: {
|
|
745
816
|
readonly required: readonly ["phoneNumber", "action"];
|
|
746
817
|
};
|
|
818
|
+
readonly deprecated: true;
|
|
747
819
|
};
|
|
748
820
|
};
|
|
749
821
|
readonly '/session/:sessionId/appium/device/gsm_signal': {
|
|
750
822
|
readonly POST: {
|
|
751
823
|
readonly command: "gsmSignal";
|
|
752
824
|
readonly payloadParams: {
|
|
753
|
-
readonly
|
|
754
|
-
readonly optional: readonly ["signalStrength", "signalStrengh"];
|
|
755
|
-
readonly makeArgs: (jsonObj: any) => any[];
|
|
825
|
+
readonly required: readonly ["signalStrength"];
|
|
756
826
|
};
|
|
827
|
+
readonly deprecated: true;
|
|
757
828
|
};
|
|
758
829
|
};
|
|
759
830
|
readonly '/session/:sessionId/appium/device/gsm_voice': {
|
|
@@ -762,6 +833,7 @@ export const METHOD_MAP: {
|
|
|
762
833
|
readonly payloadParams: {
|
|
763
834
|
readonly required: readonly ["state"];
|
|
764
835
|
};
|
|
836
|
+
readonly deprecated: true;
|
|
765
837
|
};
|
|
766
838
|
};
|
|
767
839
|
readonly '/session/:sessionId/appium/device/power_capacity': {
|
|
@@ -770,6 +842,7 @@ export const METHOD_MAP: {
|
|
|
770
842
|
readonly payloadParams: {
|
|
771
843
|
readonly required: readonly ["percent"];
|
|
772
844
|
};
|
|
845
|
+
readonly deprecated: true;
|
|
773
846
|
};
|
|
774
847
|
};
|
|
775
848
|
readonly '/session/:sessionId/appium/device/power_ac': {
|
|
@@ -778,6 +851,7 @@ export const METHOD_MAP: {
|
|
|
778
851
|
readonly payloadParams: {
|
|
779
852
|
readonly required: readonly ["state"];
|
|
780
853
|
};
|
|
854
|
+
readonly deprecated: true;
|
|
781
855
|
};
|
|
782
856
|
};
|
|
783
857
|
readonly '/session/:sessionId/appium/device/network_speed': {
|
|
@@ -786,6 +860,7 @@ export const METHOD_MAP: {
|
|
|
786
860
|
readonly payloadParams: {
|
|
787
861
|
readonly required: readonly ["netspeed"];
|
|
788
862
|
};
|
|
863
|
+
readonly deprecated: true;
|
|
789
864
|
};
|
|
790
865
|
};
|
|
791
866
|
readonly '/session/:sessionId/appium/device/keyevent': {
|
|
@@ -795,6 +870,7 @@ export const METHOD_MAP: {
|
|
|
795
870
|
readonly required: readonly ["keycode"];
|
|
796
871
|
readonly optional: readonly ["metastate"];
|
|
797
872
|
};
|
|
873
|
+
readonly deprecated: true;
|
|
798
874
|
};
|
|
799
875
|
};
|
|
800
876
|
readonly '/session/:sessionId/appium/device/rotate': {
|
|
@@ -804,16 +880,19 @@ export const METHOD_MAP: {
|
|
|
804
880
|
readonly required: readonly ["x", "y", "radius", "rotation", "touchCount", "duration"];
|
|
805
881
|
readonly optional: readonly ["element"];
|
|
806
882
|
};
|
|
883
|
+
readonly deprecated: true;
|
|
807
884
|
};
|
|
808
885
|
};
|
|
809
886
|
readonly '/session/:sessionId/appium/device/current_activity': {
|
|
810
887
|
readonly GET: {
|
|
811
888
|
readonly command: "getCurrentActivity";
|
|
889
|
+
readonly deprecated: true;
|
|
812
890
|
};
|
|
813
891
|
};
|
|
814
892
|
readonly '/session/:sessionId/appium/device/current_package': {
|
|
815
893
|
readonly GET: {
|
|
816
894
|
readonly command: "getCurrentPackage";
|
|
895
|
+
readonly deprecated: true;
|
|
817
896
|
};
|
|
818
897
|
};
|
|
819
898
|
readonly '/session/:sessionId/appium/device/install_app': {
|
|
@@ -872,6 +951,7 @@ export const METHOD_MAP: {
|
|
|
872
951
|
readonly payloadParams: {
|
|
873
952
|
readonly required: readonly [readonly ["appId"], readonly ["bundleId"]];
|
|
874
953
|
};
|
|
954
|
+
readonly deprecated: true;
|
|
875
955
|
};
|
|
876
956
|
};
|
|
877
957
|
readonly '/session/:sessionId/appium/device/hide_keyboard': {
|
|
@@ -914,26 +994,31 @@ export const METHOD_MAP: {
|
|
|
914
994
|
readonly '/session/:sessionId/appium/device/toggle_airplane_mode': {
|
|
915
995
|
readonly POST: {
|
|
916
996
|
readonly command: "toggleFlightMode";
|
|
997
|
+
readonly deprecated: true;
|
|
917
998
|
};
|
|
918
999
|
};
|
|
919
1000
|
readonly '/session/:sessionId/appium/device/toggle_data': {
|
|
920
1001
|
readonly POST: {
|
|
921
1002
|
readonly command: "toggleData";
|
|
1003
|
+
readonly deprecated: true;
|
|
922
1004
|
};
|
|
923
1005
|
};
|
|
924
1006
|
readonly '/session/:sessionId/appium/device/toggle_wifi': {
|
|
925
1007
|
readonly POST: {
|
|
926
1008
|
readonly command: "toggleWiFi";
|
|
1009
|
+
readonly deprecated: true;
|
|
927
1010
|
};
|
|
928
1011
|
};
|
|
929
1012
|
readonly '/session/:sessionId/appium/device/toggle_location_services': {
|
|
930
1013
|
readonly POST: {
|
|
931
1014
|
readonly command: "toggleLocationServices";
|
|
1015
|
+
readonly deprecated: true;
|
|
932
1016
|
};
|
|
933
1017
|
};
|
|
934
1018
|
readonly '/session/:sessionId/appium/device/open_notifications': {
|
|
935
1019
|
readonly POST: {
|
|
936
1020
|
readonly command: "openNotifications";
|
|
1021
|
+
readonly deprecated: true;
|
|
937
1022
|
};
|
|
938
1023
|
};
|
|
939
1024
|
readonly '/session/:sessionId/appium/device/start_activity': {
|
|
@@ -943,16 +1028,19 @@ export const METHOD_MAP: {
|
|
|
943
1028
|
readonly required: readonly ["appPackage", "appActivity"];
|
|
944
1029
|
readonly optional: readonly ["appWaitPackage", "appWaitActivity", "intentAction", "intentCategory", "intentFlags", "optionalIntentArguments", "dontStopAppOnReset"];
|
|
945
1030
|
};
|
|
1031
|
+
readonly deprecated: true;
|
|
946
1032
|
};
|
|
947
1033
|
};
|
|
948
1034
|
readonly '/session/:sessionId/appium/device/system_bars': {
|
|
949
1035
|
readonly GET: {
|
|
950
1036
|
readonly command: "getSystemBars";
|
|
1037
|
+
readonly deprecated: true;
|
|
951
1038
|
};
|
|
952
1039
|
};
|
|
953
1040
|
readonly '/session/:sessionId/appium/device/display_density': {
|
|
954
1041
|
readonly GET: {
|
|
955
1042
|
readonly command: "getDisplayDensity";
|
|
1043
|
+
readonly deprecated: true;
|
|
956
1044
|
};
|
|
957
1045
|
};
|
|
958
1046
|
readonly '/session/:sessionId/appium/simulator/touch_id': {
|
|
@@ -961,6 +1049,7 @@ export const METHOD_MAP: {
|
|
|
961
1049
|
readonly payloadParams: {
|
|
962
1050
|
readonly required: readonly ["match"];
|
|
963
1051
|
};
|
|
1052
|
+
readonly deprecated: true;
|
|
964
1053
|
};
|
|
965
1054
|
};
|
|
966
1055
|
readonly '/session/:sessionId/appium/simulator/toggle_touch_id_enrollment': {
|
|
@@ -969,21 +1058,25 @@ export const METHOD_MAP: {
|
|
|
969
1058
|
readonly payloadParams: {
|
|
970
1059
|
readonly optional: readonly ["enabled"];
|
|
971
1060
|
};
|
|
1061
|
+
readonly deprecated: true;
|
|
972
1062
|
};
|
|
973
1063
|
};
|
|
974
1064
|
readonly '/session/:sessionId/appium/app/launch': {
|
|
975
1065
|
readonly POST: {
|
|
976
1066
|
readonly command: "launchApp";
|
|
1067
|
+
readonly deprecated: true;
|
|
977
1068
|
};
|
|
978
1069
|
};
|
|
979
1070
|
readonly '/session/:sessionId/appium/app/close': {
|
|
980
1071
|
readonly POST: {
|
|
981
1072
|
readonly command: "closeApp";
|
|
1073
|
+
readonly deprecated: true;
|
|
982
1074
|
};
|
|
983
1075
|
};
|
|
984
1076
|
readonly '/session/:sessionId/appium/app/reset': {
|
|
985
1077
|
readonly POST: {
|
|
986
1078
|
readonly command: "reset";
|
|
1079
|
+
readonly deprecated: true;
|
|
987
1080
|
};
|
|
988
1081
|
};
|
|
989
1082
|
readonly '/session/:sessionId/appium/app/background': {
|
|
@@ -992,6 +1085,7 @@ export const METHOD_MAP: {
|
|
|
992
1085
|
readonly payloadParams: {
|
|
993
1086
|
readonly required: readonly ["seconds"];
|
|
994
1087
|
};
|
|
1088
|
+
readonly deprecated: true;
|
|
995
1089
|
};
|
|
996
1090
|
};
|
|
997
1091
|
readonly '/session/:sessionId/appium/app/end_test_coverage': {
|
|
@@ -1000,6 +1094,7 @@ export const METHOD_MAP: {
|
|
|
1000
1094
|
readonly payloadParams: {
|
|
1001
1095
|
readonly required: readonly ["intent", "path"];
|
|
1002
1096
|
};
|
|
1097
|
+
readonly deprecated: true;
|
|
1003
1098
|
};
|
|
1004
1099
|
};
|
|
1005
1100
|
readonly '/session/:sessionId/appium/app/strings': {
|
|
@@ -1008,26 +1103,25 @@ export const METHOD_MAP: {
|
|
|
1008
1103
|
readonly payloadParams: {
|
|
1009
1104
|
readonly optional: readonly ["language", "stringFile"];
|
|
1010
1105
|
};
|
|
1106
|
+
readonly deprecated: true;
|
|
1011
1107
|
};
|
|
1012
1108
|
};
|
|
1013
1109
|
readonly '/session/:sessionId/appium/element/:elementId/value': {
|
|
1014
1110
|
readonly POST: {
|
|
1015
1111
|
readonly command: "setValueImmediate";
|
|
1016
1112
|
readonly payloadParams: {
|
|
1017
|
-
readonly
|
|
1018
|
-
readonly optional: readonly ["value", "text"];
|
|
1019
|
-
readonly makeArgs: (jsonObj: any) => any[];
|
|
1113
|
+
readonly required: readonly ["text"];
|
|
1020
1114
|
};
|
|
1115
|
+
readonly deprecated: true;
|
|
1021
1116
|
};
|
|
1022
1117
|
};
|
|
1023
1118
|
readonly '/session/:sessionId/appium/element/:elementId/replace_value': {
|
|
1024
1119
|
readonly POST: {
|
|
1025
1120
|
readonly command: "replaceValue";
|
|
1026
1121
|
readonly payloadParams: {
|
|
1027
|
-
readonly
|
|
1028
|
-
readonly optional: readonly ["value", "text"];
|
|
1029
|
-
readonly makeArgs: (jsonObj: any) => any[];
|
|
1122
|
+
readonly required: readonly ["text"];
|
|
1030
1123
|
};
|
|
1124
|
+
readonly deprecated: true;
|
|
1031
1125
|
};
|
|
1032
1126
|
};
|
|
1033
1127
|
readonly '/session/:sessionId/appium/settings': {
|
|
@@ -1047,6 +1141,7 @@ export const METHOD_MAP: {
|
|
|
1047
1141
|
readonly payloadParams: {
|
|
1048
1142
|
readonly required: readonly ["response"];
|
|
1049
1143
|
};
|
|
1144
|
+
readonly deprecated: true;
|
|
1050
1145
|
};
|
|
1051
1146
|
};
|
|
1052
1147
|
readonly '/session/:sessionId/appium/events': {
|
|
@@ -1188,6 +1283,7 @@ export const METHOD_MAP: {
|
|
|
1188
1283
|
readonly required: readonly ["content"];
|
|
1189
1284
|
readonly optional: readonly ["contentType", "label"];
|
|
1190
1285
|
};
|
|
1286
|
+
readonly deprecated: true;
|
|
1191
1287
|
};
|
|
1192
1288
|
};
|
|
1193
1289
|
readonly '/session/:sessionId/appium/device/get_clipboard': {
|
|
@@ -1196,6 +1292,7 @@ export const METHOD_MAP: {
|
|
|
1196
1292
|
readonly payloadParams: {
|
|
1197
1293
|
readonly optional: readonly ["contentType"];
|
|
1198
1294
|
};
|
|
1295
|
+
readonly deprecated: true;
|
|
1199
1296
|
};
|
|
1200
1297
|
};
|
|
1201
1298
|
readonly '/session/:sessionId/:vendor/cdp/execute': {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../lib/protocol/routes.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../lib/protocol/routes.js"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAi4BG;AAGH,+BAAsB;AAoFtB,8CAA6E;AA5C7E;;;;;;GAMG;AACH,6CALW,MAAM,UACN,OAAO,eAAe,EAAE,UAAU,kCAEhC,MAAM,GAAC,SAAS,CAoC5B"}
|