@appium/base-driver 9.0.0 → 9.2.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/build/lib/basedriver/capabilities.d.ts.map +1 -1
- package/build/lib/basedriver/capabilities.js +5 -4
- package/build/lib/basedriver/capabilities.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/protocol.d.ts +2 -0
- package/build/lib/protocol/protocol.d.ts.map +1 -1
- package/build/lib/protocol/protocol.js +11 -1
- package/build/lib/protocol/protocol.js.map +1 -1
- package/build/lib/protocol/routes.d.ts +133 -26
- package/build/lib/protocol/routes.d.ts.map +1 -1
- package/build/lib/protocol/routes.js +99 -94
- package/build/lib/protocol/routes.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/lib/basedriver/capabilities.js +8 -5
- package/lib/basedriver/commands/session.js +1 -0
- package/lib/basedriver/driver.js +2 -7
- package/lib/index.js +1 -0
- package/lib/protocol/protocol.js +14 -0
- package/lib/protocol/routes.js +99 -97
- package/package.json +11 -9
- 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': {
|
|
@@ -391,6 +410,16 @@ export const METHOD_MAP: {
|
|
|
391
410
|
};
|
|
392
411
|
};
|
|
393
412
|
};
|
|
413
|
+
readonly 'session/:sessionId/element/:elementId/computedrole': {
|
|
414
|
+
readonly GET: {
|
|
415
|
+
readonly command: "getComputedRole";
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
readonly 'session/:sessionId/element/:elementId/computedlabel': {
|
|
419
|
+
readonly GET: {
|
|
420
|
+
readonly command: "getComputedLabel";
|
|
421
|
+
};
|
|
422
|
+
};
|
|
394
423
|
readonly '/session/:sessionId/rotation': {
|
|
395
424
|
readonly GET: {
|
|
396
425
|
readonly command: "getRotation";
|
|
@@ -408,6 +437,7 @@ export const METHOD_MAP: {
|
|
|
408
437
|
readonly payloadParams: {
|
|
409
438
|
readonly optional: readonly ["element", "xoffset", "yoffset"];
|
|
410
439
|
};
|
|
440
|
+
readonly deprecated: true;
|
|
411
441
|
};
|
|
412
442
|
};
|
|
413
443
|
readonly '/session/:sessionId/click': {
|
|
@@ -416,6 +446,7 @@ export const METHOD_MAP: {
|
|
|
416
446
|
readonly payloadParams: {
|
|
417
447
|
readonly optional: readonly ["button"];
|
|
418
448
|
};
|
|
449
|
+
readonly deprecated: true;
|
|
419
450
|
};
|
|
420
451
|
};
|
|
421
452
|
readonly '/session/:sessionId/buttondown': {
|
|
@@ -424,6 +455,7 @@ export const METHOD_MAP: {
|
|
|
424
455
|
readonly payloadParams: {
|
|
425
456
|
readonly optional: readonly ["button"];
|
|
426
457
|
};
|
|
458
|
+
readonly deprecated: true;
|
|
427
459
|
};
|
|
428
460
|
};
|
|
429
461
|
readonly '/session/:sessionId/buttonup': {
|
|
@@ -432,11 +464,13 @@ export const METHOD_MAP: {
|
|
|
432
464
|
readonly payloadParams: {
|
|
433
465
|
readonly optional: readonly ["button"];
|
|
434
466
|
};
|
|
467
|
+
readonly deprecated: true;
|
|
435
468
|
};
|
|
436
469
|
};
|
|
437
470
|
readonly '/session/:sessionId/doubleclick': {
|
|
438
471
|
readonly POST: {
|
|
439
472
|
readonly command: "doubleClick";
|
|
473
|
+
readonly deprecated: true;
|
|
440
474
|
};
|
|
441
475
|
};
|
|
442
476
|
readonly '/session/:sessionId/touch/click': {
|
|
@@ -445,6 +479,7 @@ export const METHOD_MAP: {
|
|
|
445
479
|
readonly payloadParams: {
|
|
446
480
|
readonly required: readonly ["element"];
|
|
447
481
|
};
|
|
482
|
+
readonly deprecated: true;
|
|
448
483
|
};
|
|
449
484
|
};
|
|
450
485
|
readonly '/session/:sessionId/touch/down': {
|
|
@@ -453,6 +488,7 @@ export const METHOD_MAP: {
|
|
|
453
488
|
readonly payloadParams: {
|
|
454
489
|
readonly required: readonly ["x", "y"];
|
|
455
490
|
};
|
|
491
|
+
readonly deprecated: true;
|
|
456
492
|
};
|
|
457
493
|
};
|
|
458
494
|
readonly '/session/:sessionId/touch/up': {
|
|
@@ -461,6 +497,7 @@ export const METHOD_MAP: {
|
|
|
461
497
|
readonly payloadParams: {
|
|
462
498
|
readonly required: readonly ["x", "y"];
|
|
463
499
|
};
|
|
500
|
+
readonly deprecated: true;
|
|
464
501
|
};
|
|
465
502
|
};
|
|
466
503
|
readonly '/session/:sessionId/touch/move': {
|
|
@@ -469,10 +506,13 @@ export const METHOD_MAP: {
|
|
|
469
506
|
readonly payloadParams: {
|
|
470
507
|
readonly required: readonly ["x", "y"];
|
|
471
508
|
};
|
|
509
|
+
readonly deprecated: true;
|
|
472
510
|
};
|
|
473
511
|
};
|
|
474
512
|
readonly '/session/:sessionId/touch/scroll': {
|
|
475
|
-
readonly POST: {
|
|
513
|
+
readonly POST: {
|
|
514
|
+
readonly deprecated: true;
|
|
515
|
+
};
|
|
476
516
|
};
|
|
477
517
|
readonly '/session/:sessionId/touch/doubleclick': {
|
|
478
518
|
readonly POST: {};
|
|
@@ -494,6 +534,7 @@ export const METHOD_MAP: {
|
|
|
494
534
|
readonly payloadParams: {
|
|
495
535
|
readonly required: readonly ["elements"];
|
|
496
536
|
};
|
|
537
|
+
readonly deprecated: true;
|
|
497
538
|
};
|
|
498
539
|
};
|
|
499
540
|
readonly '/session/:sessionId/touch/flick': {
|
|
@@ -502,6 +543,7 @@ export const METHOD_MAP: {
|
|
|
502
543
|
readonly payloadParams: {
|
|
503
544
|
readonly optional: readonly ["element", "xspeed", "yspeed", "xoffset", "yoffset", "speed"];
|
|
504
545
|
};
|
|
546
|
+
readonly deprecated: true;
|
|
505
547
|
};
|
|
506
548
|
};
|
|
507
549
|
readonly '/session/:sessionId/location': {
|
|
@@ -516,28 +558,52 @@ export const METHOD_MAP: {
|
|
|
516
558
|
};
|
|
517
559
|
};
|
|
518
560
|
readonly '/session/:sessionId/local_storage': {
|
|
519
|
-
readonly GET: {
|
|
520
|
-
|
|
521
|
-
|
|
561
|
+
readonly GET: {
|
|
562
|
+
readonly deprecated: true;
|
|
563
|
+
};
|
|
564
|
+
readonly POST: {
|
|
565
|
+
readonly deprecated: true;
|
|
566
|
+
};
|
|
567
|
+
readonly DELETE: {
|
|
568
|
+
readonly deprecated: true;
|
|
569
|
+
};
|
|
522
570
|
};
|
|
523
571
|
readonly '/session/:sessionId/local_storage/key/:key': {
|
|
524
|
-
readonly GET: {
|
|
525
|
-
|
|
572
|
+
readonly GET: {
|
|
573
|
+
readonly deprecated: true;
|
|
574
|
+
};
|
|
575
|
+
readonly DELETE: {
|
|
576
|
+
readonly deprecated: true;
|
|
577
|
+
};
|
|
526
578
|
};
|
|
527
579
|
readonly '/session/:sessionId/local_storage/size': {
|
|
528
|
-
readonly GET: {
|
|
580
|
+
readonly GET: {
|
|
581
|
+
readonly deprecated: true;
|
|
582
|
+
};
|
|
529
583
|
};
|
|
530
584
|
readonly '/session/:sessionId/session_storage': {
|
|
531
|
-
readonly GET: {
|
|
532
|
-
|
|
533
|
-
|
|
585
|
+
readonly GET: {
|
|
586
|
+
readonly deprecated: true;
|
|
587
|
+
};
|
|
588
|
+
readonly POST: {
|
|
589
|
+
readonly deprecated: true;
|
|
590
|
+
};
|
|
591
|
+
readonly DELETE: {
|
|
592
|
+
readonly deprecated: true;
|
|
593
|
+
};
|
|
534
594
|
};
|
|
535
595
|
readonly '/session/:sessionId/session_storage/key/:key': {
|
|
536
|
-
readonly GET: {
|
|
537
|
-
|
|
596
|
+
readonly GET: {
|
|
597
|
+
readonly deprecated: true;
|
|
598
|
+
};
|
|
599
|
+
readonly DELETE: {
|
|
600
|
+
readonly deprecated: true;
|
|
601
|
+
};
|
|
538
602
|
};
|
|
539
603
|
readonly '/session/:sessionId/session_storage/size': {
|
|
540
|
-
readonly GET: {
|
|
604
|
+
readonly GET: {
|
|
605
|
+
readonly deprecated: true;
|
|
606
|
+
};
|
|
541
607
|
};
|
|
542
608
|
readonly '/session/:sessionId/se/log': {
|
|
543
609
|
readonly POST: {
|
|
@@ -587,6 +653,7 @@ export const METHOD_MAP: {
|
|
|
587
653
|
readonly '/session/:sessionId/element/:elementId/pageIndex': {
|
|
588
654
|
readonly GET: {
|
|
589
655
|
readonly command: "getPageIndex";
|
|
656
|
+
readonly deprecated: true;
|
|
590
657
|
};
|
|
591
658
|
};
|
|
592
659
|
readonly '/session/:sessionId/network_connection': {
|
|
@@ -608,6 +675,7 @@ export const METHOD_MAP: {
|
|
|
608
675
|
readonly wrap: "actions";
|
|
609
676
|
readonly required: readonly ["actions"];
|
|
610
677
|
};
|
|
678
|
+
readonly deprecated: true;
|
|
611
679
|
};
|
|
612
680
|
};
|
|
613
681
|
readonly '/session/:sessionId/touch/multi/perform': {
|
|
@@ -617,6 +685,7 @@ export const METHOD_MAP: {
|
|
|
617
685
|
readonly required: readonly ["actions"];
|
|
618
686
|
readonly optional: readonly ["elementId"];
|
|
619
687
|
};
|
|
688
|
+
readonly deprecated: true;
|
|
620
689
|
};
|
|
621
690
|
};
|
|
622
691
|
readonly '/session/:sessionId/receive_async_response': {
|
|
@@ -630,6 +699,7 @@ export const METHOD_MAP: {
|
|
|
630
699
|
readonly '/session/:sessionId/appium/device/shake': {
|
|
631
700
|
readonly POST: {
|
|
632
701
|
readonly command: "mobileShake";
|
|
702
|
+
readonly deprecated: true;
|
|
633
703
|
};
|
|
634
704
|
};
|
|
635
705
|
readonly '/session/:sessionId/appium/device/system_time': {
|
|
@@ -652,16 +722,19 @@ export const METHOD_MAP: {
|
|
|
652
722
|
readonly payloadParams: {
|
|
653
723
|
readonly optional: readonly ["seconds"];
|
|
654
724
|
};
|
|
725
|
+
readonly deprecated: true;
|
|
655
726
|
};
|
|
656
727
|
};
|
|
657
728
|
readonly '/session/:sessionId/appium/device/unlock': {
|
|
658
729
|
readonly POST: {
|
|
659
730
|
readonly command: "unlock";
|
|
731
|
+
readonly deprecated: true;
|
|
660
732
|
};
|
|
661
733
|
};
|
|
662
734
|
readonly '/session/:sessionId/appium/device/is_locked': {
|
|
663
735
|
readonly POST: {
|
|
664
736
|
readonly command: "isLocked";
|
|
737
|
+
readonly deprecated: true;
|
|
665
738
|
};
|
|
666
739
|
};
|
|
667
740
|
readonly '/session/:sessionId/appium/start_recording_screen': {
|
|
@@ -670,6 +743,7 @@ export const METHOD_MAP: {
|
|
|
670
743
|
readonly payloadParams: {
|
|
671
744
|
readonly optional: readonly ["options"];
|
|
672
745
|
};
|
|
746
|
+
readonly deprecated: true;
|
|
673
747
|
};
|
|
674
748
|
};
|
|
675
749
|
readonly '/session/:sessionId/appium/stop_recording_screen': {
|
|
@@ -678,11 +752,13 @@ export const METHOD_MAP: {
|
|
|
678
752
|
readonly payloadParams: {
|
|
679
753
|
readonly optional: readonly ["options"];
|
|
680
754
|
};
|
|
755
|
+
readonly deprecated: true;
|
|
681
756
|
};
|
|
682
757
|
};
|
|
683
758
|
readonly '/session/:sessionId/appium/performanceData/types': {
|
|
684
759
|
readonly POST: {
|
|
685
760
|
readonly command: "getPerformanceDataTypes";
|
|
761
|
+
readonly deprecated: true;
|
|
686
762
|
};
|
|
687
763
|
};
|
|
688
764
|
readonly '/session/:sessionId/appium/getPerformanceData': {
|
|
@@ -692,6 +768,7 @@ export const METHOD_MAP: {
|
|
|
692
768
|
readonly required: readonly ["packageName", "dataType"];
|
|
693
769
|
readonly optional: readonly ["dataReadTimeout"];
|
|
694
770
|
};
|
|
771
|
+
readonly deprecated: true;
|
|
695
772
|
};
|
|
696
773
|
};
|
|
697
774
|
readonly '/session/:sessionId/appium/device/press_keycode': {
|
|
@@ -701,6 +778,7 @@ export const METHOD_MAP: {
|
|
|
701
778
|
readonly required: readonly ["keycode"];
|
|
702
779
|
readonly optional: readonly ["metastate", "flags"];
|
|
703
780
|
};
|
|
781
|
+
readonly deprecated: true;
|
|
704
782
|
};
|
|
705
783
|
};
|
|
706
784
|
readonly '/session/:sessionId/appium/device/long_press_keycode': {
|
|
@@ -710,6 +788,7 @@ export const METHOD_MAP: {
|
|
|
710
788
|
readonly required: readonly ["keycode"];
|
|
711
789
|
readonly optional: readonly ["metastate", "flags"];
|
|
712
790
|
};
|
|
791
|
+
readonly deprecated: true;
|
|
713
792
|
};
|
|
714
793
|
};
|
|
715
794
|
readonly '/session/:sessionId/appium/device/finger_print': {
|
|
@@ -718,6 +797,7 @@ export const METHOD_MAP: {
|
|
|
718
797
|
readonly payloadParams: {
|
|
719
798
|
readonly required: readonly ["fingerprintId"];
|
|
720
799
|
};
|
|
800
|
+
readonly deprecated: true;
|
|
721
801
|
};
|
|
722
802
|
};
|
|
723
803
|
readonly '/session/:sessionId/appium/device/send_sms': {
|
|
@@ -726,6 +806,7 @@ export const METHOD_MAP: {
|
|
|
726
806
|
readonly payloadParams: {
|
|
727
807
|
readonly required: readonly ["phoneNumber", "message"];
|
|
728
808
|
};
|
|
809
|
+
readonly deprecated: true;
|
|
729
810
|
};
|
|
730
811
|
};
|
|
731
812
|
readonly '/session/:sessionId/appium/device/gsm_call': {
|
|
@@ -734,16 +815,16 @@ export const METHOD_MAP: {
|
|
|
734
815
|
readonly payloadParams: {
|
|
735
816
|
readonly required: readonly ["phoneNumber", "action"];
|
|
736
817
|
};
|
|
818
|
+
readonly deprecated: true;
|
|
737
819
|
};
|
|
738
820
|
};
|
|
739
821
|
readonly '/session/:sessionId/appium/device/gsm_signal': {
|
|
740
822
|
readonly POST: {
|
|
741
823
|
readonly command: "gsmSignal";
|
|
742
824
|
readonly payloadParams: {
|
|
743
|
-
readonly
|
|
744
|
-
readonly optional: readonly ["signalStrength", "signalStrengh"];
|
|
745
|
-
readonly makeArgs: (jsonObj: any) => any[];
|
|
825
|
+
readonly required: readonly ["signalStrength"];
|
|
746
826
|
};
|
|
827
|
+
readonly deprecated: true;
|
|
747
828
|
};
|
|
748
829
|
};
|
|
749
830
|
readonly '/session/:sessionId/appium/device/gsm_voice': {
|
|
@@ -752,6 +833,7 @@ export const METHOD_MAP: {
|
|
|
752
833
|
readonly payloadParams: {
|
|
753
834
|
readonly required: readonly ["state"];
|
|
754
835
|
};
|
|
836
|
+
readonly deprecated: true;
|
|
755
837
|
};
|
|
756
838
|
};
|
|
757
839
|
readonly '/session/:sessionId/appium/device/power_capacity': {
|
|
@@ -760,6 +842,7 @@ export const METHOD_MAP: {
|
|
|
760
842
|
readonly payloadParams: {
|
|
761
843
|
readonly required: readonly ["percent"];
|
|
762
844
|
};
|
|
845
|
+
readonly deprecated: true;
|
|
763
846
|
};
|
|
764
847
|
};
|
|
765
848
|
readonly '/session/:sessionId/appium/device/power_ac': {
|
|
@@ -768,6 +851,7 @@ export const METHOD_MAP: {
|
|
|
768
851
|
readonly payloadParams: {
|
|
769
852
|
readonly required: readonly ["state"];
|
|
770
853
|
};
|
|
854
|
+
readonly deprecated: true;
|
|
771
855
|
};
|
|
772
856
|
};
|
|
773
857
|
readonly '/session/:sessionId/appium/device/network_speed': {
|
|
@@ -776,6 +860,7 @@ export const METHOD_MAP: {
|
|
|
776
860
|
readonly payloadParams: {
|
|
777
861
|
readonly required: readonly ["netspeed"];
|
|
778
862
|
};
|
|
863
|
+
readonly deprecated: true;
|
|
779
864
|
};
|
|
780
865
|
};
|
|
781
866
|
readonly '/session/:sessionId/appium/device/keyevent': {
|
|
@@ -785,6 +870,7 @@ export const METHOD_MAP: {
|
|
|
785
870
|
readonly required: readonly ["keycode"];
|
|
786
871
|
readonly optional: readonly ["metastate"];
|
|
787
872
|
};
|
|
873
|
+
readonly deprecated: true;
|
|
788
874
|
};
|
|
789
875
|
};
|
|
790
876
|
readonly '/session/:sessionId/appium/device/rotate': {
|
|
@@ -794,16 +880,19 @@ export const METHOD_MAP: {
|
|
|
794
880
|
readonly required: readonly ["x", "y", "radius", "rotation", "touchCount", "duration"];
|
|
795
881
|
readonly optional: readonly ["element"];
|
|
796
882
|
};
|
|
883
|
+
readonly deprecated: true;
|
|
797
884
|
};
|
|
798
885
|
};
|
|
799
886
|
readonly '/session/:sessionId/appium/device/current_activity': {
|
|
800
887
|
readonly GET: {
|
|
801
888
|
readonly command: "getCurrentActivity";
|
|
889
|
+
readonly deprecated: true;
|
|
802
890
|
};
|
|
803
891
|
};
|
|
804
892
|
readonly '/session/:sessionId/appium/device/current_package': {
|
|
805
893
|
readonly GET: {
|
|
806
894
|
readonly command: "getCurrentPackage";
|
|
895
|
+
readonly deprecated: true;
|
|
807
896
|
};
|
|
808
897
|
};
|
|
809
898
|
readonly '/session/:sessionId/appium/device/install_app': {
|
|
@@ -862,6 +951,7 @@ export const METHOD_MAP: {
|
|
|
862
951
|
readonly payloadParams: {
|
|
863
952
|
readonly required: readonly [readonly ["appId"], readonly ["bundleId"]];
|
|
864
953
|
};
|
|
954
|
+
readonly deprecated: true;
|
|
865
955
|
};
|
|
866
956
|
};
|
|
867
957
|
readonly '/session/:sessionId/appium/device/hide_keyboard': {
|
|
@@ -904,26 +994,31 @@ export const METHOD_MAP: {
|
|
|
904
994
|
readonly '/session/:sessionId/appium/device/toggle_airplane_mode': {
|
|
905
995
|
readonly POST: {
|
|
906
996
|
readonly command: "toggleFlightMode";
|
|
997
|
+
readonly deprecated: true;
|
|
907
998
|
};
|
|
908
999
|
};
|
|
909
1000
|
readonly '/session/:sessionId/appium/device/toggle_data': {
|
|
910
1001
|
readonly POST: {
|
|
911
1002
|
readonly command: "toggleData";
|
|
1003
|
+
readonly deprecated: true;
|
|
912
1004
|
};
|
|
913
1005
|
};
|
|
914
1006
|
readonly '/session/:sessionId/appium/device/toggle_wifi': {
|
|
915
1007
|
readonly POST: {
|
|
916
1008
|
readonly command: "toggleWiFi";
|
|
1009
|
+
readonly deprecated: true;
|
|
917
1010
|
};
|
|
918
1011
|
};
|
|
919
1012
|
readonly '/session/:sessionId/appium/device/toggle_location_services': {
|
|
920
1013
|
readonly POST: {
|
|
921
1014
|
readonly command: "toggleLocationServices";
|
|
1015
|
+
readonly deprecated: true;
|
|
922
1016
|
};
|
|
923
1017
|
};
|
|
924
1018
|
readonly '/session/:sessionId/appium/device/open_notifications': {
|
|
925
1019
|
readonly POST: {
|
|
926
1020
|
readonly command: "openNotifications";
|
|
1021
|
+
readonly deprecated: true;
|
|
927
1022
|
};
|
|
928
1023
|
};
|
|
929
1024
|
readonly '/session/:sessionId/appium/device/start_activity': {
|
|
@@ -933,16 +1028,19 @@ export const METHOD_MAP: {
|
|
|
933
1028
|
readonly required: readonly ["appPackage", "appActivity"];
|
|
934
1029
|
readonly optional: readonly ["appWaitPackage", "appWaitActivity", "intentAction", "intentCategory", "intentFlags", "optionalIntentArguments", "dontStopAppOnReset"];
|
|
935
1030
|
};
|
|
1031
|
+
readonly deprecated: true;
|
|
936
1032
|
};
|
|
937
1033
|
};
|
|
938
1034
|
readonly '/session/:sessionId/appium/device/system_bars': {
|
|
939
1035
|
readonly GET: {
|
|
940
1036
|
readonly command: "getSystemBars";
|
|
1037
|
+
readonly deprecated: true;
|
|
941
1038
|
};
|
|
942
1039
|
};
|
|
943
1040
|
readonly '/session/:sessionId/appium/device/display_density': {
|
|
944
1041
|
readonly GET: {
|
|
945
1042
|
readonly command: "getDisplayDensity";
|
|
1043
|
+
readonly deprecated: true;
|
|
946
1044
|
};
|
|
947
1045
|
};
|
|
948
1046
|
readonly '/session/:sessionId/appium/simulator/touch_id': {
|
|
@@ -951,6 +1049,7 @@ export const METHOD_MAP: {
|
|
|
951
1049
|
readonly payloadParams: {
|
|
952
1050
|
readonly required: readonly ["match"];
|
|
953
1051
|
};
|
|
1052
|
+
readonly deprecated: true;
|
|
954
1053
|
};
|
|
955
1054
|
};
|
|
956
1055
|
readonly '/session/:sessionId/appium/simulator/toggle_touch_id_enrollment': {
|
|
@@ -959,21 +1058,25 @@ export const METHOD_MAP: {
|
|
|
959
1058
|
readonly payloadParams: {
|
|
960
1059
|
readonly optional: readonly ["enabled"];
|
|
961
1060
|
};
|
|
1061
|
+
readonly deprecated: true;
|
|
962
1062
|
};
|
|
963
1063
|
};
|
|
964
1064
|
readonly '/session/:sessionId/appium/app/launch': {
|
|
965
1065
|
readonly POST: {
|
|
966
1066
|
readonly command: "launchApp";
|
|
1067
|
+
readonly deprecated: true;
|
|
967
1068
|
};
|
|
968
1069
|
};
|
|
969
1070
|
readonly '/session/:sessionId/appium/app/close': {
|
|
970
1071
|
readonly POST: {
|
|
971
1072
|
readonly command: "closeApp";
|
|
1073
|
+
readonly deprecated: true;
|
|
972
1074
|
};
|
|
973
1075
|
};
|
|
974
1076
|
readonly '/session/:sessionId/appium/app/reset': {
|
|
975
1077
|
readonly POST: {
|
|
976
1078
|
readonly command: "reset";
|
|
1079
|
+
readonly deprecated: true;
|
|
977
1080
|
};
|
|
978
1081
|
};
|
|
979
1082
|
readonly '/session/:sessionId/appium/app/background': {
|
|
@@ -982,6 +1085,7 @@ export const METHOD_MAP: {
|
|
|
982
1085
|
readonly payloadParams: {
|
|
983
1086
|
readonly required: readonly ["seconds"];
|
|
984
1087
|
};
|
|
1088
|
+
readonly deprecated: true;
|
|
985
1089
|
};
|
|
986
1090
|
};
|
|
987
1091
|
readonly '/session/:sessionId/appium/app/end_test_coverage': {
|
|
@@ -990,6 +1094,7 @@ export const METHOD_MAP: {
|
|
|
990
1094
|
readonly payloadParams: {
|
|
991
1095
|
readonly required: readonly ["intent", "path"];
|
|
992
1096
|
};
|
|
1097
|
+
readonly deprecated: true;
|
|
993
1098
|
};
|
|
994
1099
|
};
|
|
995
1100
|
readonly '/session/:sessionId/appium/app/strings': {
|
|
@@ -998,26 +1103,25 @@ export const METHOD_MAP: {
|
|
|
998
1103
|
readonly payloadParams: {
|
|
999
1104
|
readonly optional: readonly ["language", "stringFile"];
|
|
1000
1105
|
};
|
|
1106
|
+
readonly deprecated: true;
|
|
1001
1107
|
};
|
|
1002
1108
|
};
|
|
1003
1109
|
readonly '/session/:sessionId/appium/element/:elementId/value': {
|
|
1004
1110
|
readonly POST: {
|
|
1005
1111
|
readonly command: "setValueImmediate";
|
|
1006
1112
|
readonly payloadParams: {
|
|
1007
|
-
readonly
|
|
1008
|
-
readonly optional: readonly ["value", "text"];
|
|
1009
|
-
readonly makeArgs: (jsonObj: any) => any[];
|
|
1113
|
+
readonly required: readonly ["text"];
|
|
1010
1114
|
};
|
|
1115
|
+
readonly deprecated: true;
|
|
1011
1116
|
};
|
|
1012
1117
|
};
|
|
1013
1118
|
readonly '/session/:sessionId/appium/element/:elementId/replace_value': {
|
|
1014
1119
|
readonly POST: {
|
|
1015
1120
|
readonly command: "replaceValue";
|
|
1016
1121
|
readonly payloadParams: {
|
|
1017
|
-
readonly
|
|
1018
|
-
readonly optional: readonly ["value", "text"];
|
|
1019
|
-
readonly makeArgs: (jsonObj: any) => any[];
|
|
1122
|
+
readonly required: readonly ["text"];
|
|
1020
1123
|
};
|
|
1124
|
+
readonly deprecated: true;
|
|
1021
1125
|
};
|
|
1022
1126
|
};
|
|
1023
1127
|
readonly '/session/:sessionId/appium/settings': {
|
|
@@ -1037,6 +1141,7 @@ export const METHOD_MAP: {
|
|
|
1037
1141
|
readonly payloadParams: {
|
|
1038
1142
|
readonly required: readonly ["response"];
|
|
1039
1143
|
};
|
|
1144
|
+
readonly deprecated: true;
|
|
1040
1145
|
};
|
|
1041
1146
|
};
|
|
1042
1147
|
readonly '/session/:sessionId/appium/events': {
|
|
@@ -1178,6 +1283,7 @@ export const METHOD_MAP: {
|
|
|
1178
1283
|
readonly required: readonly ["content"];
|
|
1179
1284
|
readonly optional: readonly ["contentType", "label"];
|
|
1180
1285
|
};
|
|
1286
|
+
readonly deprecated: true;
|
|
1181
1287
|
};
|
|
1182
1288
|
};
|
|
1183
1289
|
readonly '/session/:sessionId/appium/device/get_clipboard': {
|
|
@@ -1186,6 +1292,7 @@ export const METHOD_MAP: {
|
|
|
1186
1292
|
readonly payloadParams: {
|
|
1187
1293
|
readonly optional: readonly ["contentType"];
|
|
1188
1294
|
};
|
|
1295
|
+
readonly deprecated: true;
|
|
1189
1296
|
};
|
|
1190
1297
|
};
|
|
1191
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"}
|