@wdio/protocols 8.20.3 → 8.22.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.
@@ -1,5 +1,29 @@
1
- import type { StringsReturn, SettingsReturn, ProtocolCommandResponse } from '../types.js';
1
+ import type { Context, StringsReturn, SettingsReturn, ProtocolCommandResponse } from '../types.js';
2
2
  export default interface AppiumCommands {
3
+ /**
4
+ * Appium Protocol Command
5
+ *
6
+ * No description available, please see reference link.
7
+ * @ref https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts
8
+ *
9
+ */
10
+ getContext(): Promise<Context>;
11
+ /**
12
+ * Appium Protocol Command
13
+ *
14
+ * No description available, please see reference link.
15
+ * @ref https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts
16
+ *
17
+ */
18
+ switchContext(name: string): Promise<void>;
19
+ /**
20
+ * Appium Protocol Command
21
+ *
22
+ * No description available, please see reference link.
23
+ * @ref https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts
24
+ *
25
+ */
26
+ getContexts(): Promise<Context[]>;
3
27
  /**
4
28
  * Appium Protocol Command
5
29
  *
@@ -512,7 +536,7 @@ export default interface AppiumCommands {
512
536
  * @ref https://github.com/appium/appium/blob/master/docs/en/commands/session/execute-driver.md
513
537
  *
514
538
  */
515
- driverScript(script: string, type?: string, timeout?: number): Promise<ProtocolCommandResponse>;
539
+ executeDriverScript(script: string, type?: string, timeout?: number): Promise<ProtocolCommandResponse>;
516
540
  /**
517
541
  * Appium Protocol Command
518
542
  *
@@ -1 +1 @@
1
- {"version":3,"file":"appium.d.ts","sourceRoot":"","sources":["../../src/commands/appium.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAGzF,MAAM,CAAC,OAAO,WAAW,cAAc;IAEnC;;;;;;OA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ElD;;;;;;OAMG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAErF;;;;;;OAMG;IACH,YAAY,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C;;;;;;OAMG;IACH,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;;;;;OAMG;IACH,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAEvG;;;;;;OAMG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAE5D;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvD;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;CAC3H"}
@@ -21,6 +21,7 @@ export default interface JsonwpCommands {
21
21
  *
22
22
  * Returns a list of the currently active sessions. Each session will be returned as a list of JSON objects containing `id` and `capabilities`.
23
23
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessions
24
+ * @deprecated This command is deprecated and likely not supported by any browser.
24
25
  *
25
26
  */
26
27
  getSessions(): Promise<object[]>;
@@ -29,6 +30,7 @@ export default interface JsonwpCommands {
29
30
  *
30
31
  * Retrieve the capabilities of the specified session.
31
32
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionid
33
+ * @deprecated This command is deprecated and likely not supported by any browser.
32
34
  *
33
35
  */
34
36
  getSession(): Promise<ProtocolCommandResponse>;
@@ -53,6 +55,7 @@ export default interface JsonwpCommands {
53
55
  *
54
56
  * Set the amount of time, in milliseconds, that asynchronous scripts executed by `/session/:sessionId/execute_async` are permitted to run before they are aborted and a `Timeout` error is returned to the client.
55
57
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtimeoutsasync_script
58
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "setTimeouts" command instead!
56
59
  *
57
60
  */
58
61
  setAsyncTimeout(ms: number): Promise<void>;
@@ -61,6 +64,7 @@ export default interface JsonwpCommands {
61
64
  *
62
65
  * Set the amount of time the driver should wait when searching for elements. When searching for a single element, the driver should poll the page until an element is found or the timeout expires, whichever occurs first. When searching for multiple elements, the driver should poll the page until at least one element is found or the timeout expires, at which point it should return an empty list. If this command is never sent, the driver should default to an implicit wait of 0ms.
63
66
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtimeoutsimplicit_wait
67
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "setTimeouts" command instead!
64
68
  *
65
69
  */
66
70
  setImplicitTimeout(ms: number): Promise<void>;
@@ -165,6 +169,7 @@ export default interface JsonwpCommands {
165
169
  *
166
170
  * Get the position of the current focussed window.
167
171
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidwindowwindowhandleposition
172
+ * @deprecated This command is deprecated and likely not supported by any browser.
168
173
  *
169
174
  */
170
175
  getWindowPosition(): Promise<ProtocolCommandResponse>;
@@ -173,6 +178,7 @@ export default interface JsonwpCommands {
173
178
  *
174
179
  * Change the position of the current focussed window.
175
180
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#post-sessionsessionidwindowwindowhandleposition
181
+ * @deprecated This command is deprecated and likely not supported by any browser.
176
182
  *
177
183
  */
178
184
  setWindowPosition(x: number, y: number): Promise<ProtocolCommandResponse>;
@@ -181,6 +187,7 @@ export default interface JsonwpCommands {
181
187
  *
182
188
  * Get the size of the current focused window.
183
189
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidwindowwindowhandlesize
190
+ * @deprecated This command is deprecated and likely not supported by any browser.
184
191
  *
185
192
  */
186
193
  _getWindowSize(): Promise<ProtocolCommandResponse>;
@@ -189,6 +196,7 @@ export default interface JsonwpCommands {
189
196
  *
190
197
  * Change the size of the current focused window.
191
198
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#post-sessionsessionidwindowwindowhandlesize
199
+ * @deprecated This command is deprecated and likely not supported by any browser.
192
200
  *
193
201
  */
194
202
  _setWindowSize(width: number, height: number): Promise<void>;
@@ -293,6 +301,7 @@ export default interface JsonwpCommands {
293
301
  *
294
302
  * Determine an element's location on the page. The point `(0, 0)` refers to the upper-left corner of the page. The element's coordinates are returned as a JSON object with `x` and `y` properties.
295
303
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelementidlocation
304
+ * @deprecated This command is deprecated and likely not supported by any browser.
296
305
  *
297
306
  */
298
307
  getElementLocation(elementId: string): Promise<ProtocolCommandResponse>;
@@ -301,6 +310,7 @@ export default interface JsonwpCommands {
301
310
  *
302
311
  * Determine an element's location on the screen once it has been scrolled into view.<br /><br />__Note:__ This is considered an internal command and should only be used to determine an element's location for correctly generating native events.
303
312
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelementidlocation_in_view
313
+ * @deprecated This command is deprecated and likely not supported by any browser.
304
314
  *
305
315
  */
306
316
  getElementLocationInView(elementId: string): Promise<ProtocolCommandResponse>;
@@ -309,6 +319,7 @@ export default interface JsonwpCommands {
309
319
  *
310
320
  * Determine an element's size in pixels. The size will be returned as a JSON object with `width` and `height` properties.
311
321
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelementidsize
322
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "getElementRect" command instead of "getElementSize"!
312
323
  *
313
324
  */
314
325
  getElementSize(elementId: string): Promise<ProtocolCommandResponse>;
@@ -333,6 +344,7 @@ export default interface JsonwpCommands {
333
344
  *
334
345
  * Compare elements with each other.
335
346
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelementidequalsother
347
+ * @deprecated This command is deprecated and likely not supported by any browser.
336
348
  *
337
349
  */
338
350
  elementEquals(elementId: string, otherElementId: string): Promise<boolean>;
@@ -341,6 +353,7 @@ export default interface JsonwpCommands {
341
353
  *
342
354
  * No description available, please see reference link.
343
355
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidelementidsubmit
356
+ * @deprecated This command is deprecated and likely not supported by any browser.
344
357
  *
345
358
  */
346
359
  elementSubmit(elementId: string): Promise<void>;
@@ -365,6 +378,7 @@ export default interface JsonwpCommands {
365
378
  *
366
379
  * No description available, please see reference link.
367
380
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidkeys
381
+ * @deprecated This command is deprecated and likely not supported by any browser.
368
382
  *
369
383
  */
370
384
  sendKeys(value: string[]): Promise<void>;
@@ -469,6 +483,7 @@ export default interface JsonwpCommands {
469
483
  *
470
484
  * No description available, please see reference link.
471
485
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidimeavailable_engines
486
+ * @deprecated This command is deprecated and likely not supported by any browser.
472
487
  *
473
488
  */
474
489
  getAvailableEngines(): Promise<string[]>;
@@ -477,6 +492,7 @@ export default interface JsonwpCommands {
477
492
  *
478
493
  * No description available, please see reference link.
479
494
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidimeactive_engine
495
+ * @deprecated This command is deprecated and likely not supported by any browser.
480
496
  *
481
497
  */
482
498
  getActiveEngine(): Promise<string>;
@@ -485,6 +501,7 @@ export default interface JsonwpCommands {
485
501
  *
486
502
  * No description available, please see reference link.
487
503
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidimeactivated
504
+ * @deprecated This command is deprecated and likely not supported by any browser.
488
505
  *
489
506
  */
490
507
  isIMEActivated(): Promise<boolean>;
@@ -493,6 +510,7 @@ export default interface JsonwpCommands {
493
510
  *
494
511
  * No description available, please see reference link.
495
512
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidimedeactivate
513
+ * @deprecated This command is deprecated and likely not supported by any browser.
496
514
  *
497
515
  */
498
516
  deactivateIME(): Promise<void>;
@@ -501,6 +519,7 @@ export default interface JsonwpCommands {
501
519
  *
502
520
  * No description available, please see reference link.
503
521
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidimeactivate
522
+ * @deprecated This command is deprecated and likely not supported by any browser.
504
523
  *
505
524
  */
506
525
  activateIME(engine: string): Promise<void>;
@@ -509,6 +528,7 @@ export default interface JsonwpCommands {
509
528
  *
510
529
  * No description available, please see reference link.
511
530
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidorientation
531
+ * @deprecated This command is deprecated and likely not supported by any browser.
512
532
  *
513
533
  */
514
534
  getOrientation(): Promise<string>;
@@ -517,6 +537,7 @@ export default interface JsonwpCommands {
517
537
  *
518
538
  * No description available, please see reference link.
519
539
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#post-sessionsessionidorientation
540
+ * @deprecated This command is deprecated and likely not supported by any browser.
520
541
  *
521
542
  */
522
543
  setOrientation(orientation: string): Promise<void>;
@@ -525,6 +546,7 @@ export default interface JsonwpCommands {
525
546
  *
526
547
  * No description available, please see reference link.
527
548
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidmoveto
549
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a "move to" gesture!
528
550
  *
529
551
  */
530
552
  moveToElement(element?: (string | null), xoffset?: number, yoffset?: number): Promise<void>;
@@ -533,6 +555,7 @@ export default interface JsonwpCommands {
533
555
  *
534
556
  * Click and hold the left mouse button (at the coordinates set by the last moveto command). Note that the next mouse-related command that should follow is buttonup . Any other mouse command (such as click or another call to buttondown) will yield undefined behaviour.
535
557
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidbuttondown
558
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a click gesture!
536
559
  *
537
560
  */
538
561
  buttonDown(button?: number): Promise<void>;
@@ -541,6 +564,7 @@ export default interface JsonwpCommands {
541
564
  *
542
565
  * Releases the mouse button previously held (where the mouse is currently at). Must be called once for every buttondown command issued. See the note in click and buttondown about implications of out-of-order commands.
543
566
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidbuttonup
567
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a click gesture!
544
568
  *
545
569
  */
546
570
  buttonUp(button?: number): Promise<void>;
@@ -549,6 +573,7 @@ export default interface JsonwpCommands {
549
573
  *
550
574
  * Clicks at the current mouse coordinates (set by moveto).
551
575
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidclick
576
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead of "positionClick"!
552
577
  *
553
578
  */
554
579
  positionClick(button?: number): Promise<void>;
@@ -557,6 +582,7 @@ export default interface JsonwpCommands {
557
582
  *
558
583
  * Double-clicks at the current mouse coordinates (set by moveto).
559
584
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessioniddoubleclick
585
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a click gesture!
560
586
  *
561
587
  */
562
588
  positionDoubleClick(): Promise<void>;
@@ -565,6 +591,7 @@ export default interface JsonwpCommands {
565
591
  *
566
592
  * Single tap on the touch enabled device.
567
593
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchclick
594
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a touch gesture!
568
595
  *
569
596
  */
570
597
  touchClick(element: string): Promise<void>;
@@ -573,6 +600,7 @@ export default interface JsonwpCommands {
573
600
  *
574
601
  * Finger down on the screen.
575
602
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchdown
603
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a touch gesture!
576
604
  *
577
605
  */
578
606
  touchDown(x: number, y: number): Promise<void>;
@@ -581,6 +609,7 @@ export default interface JsonwpCommands {
581
609
  *
582
610
  * Finger up on the screen.
583
611
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchup
612
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a touch gesture!
584
613
  *
585
614
  */
586
615
  touchUp(x: number, y: number): Promise<void>;
@@ -589,6 +618,7 @@ export default interface JsonwpCommands {
589
618
  *
590
619
  * Finger move on the screen.
591
620
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchmove
621
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a touch gesture!
592
622
  *
593
623
  */
594
624
  touchMove(x: number, y: number): Promise<void>;
@@ -597,6 +627,7 @@ export default interface JsonwpCommands {
597
627
  *
598
628
  * Finger move on the screen.
599
629
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchscroll
630
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a touch gesture!
600
631
  *
601
632
  */
602
633
  touchScroll(xoffset: number, yoffset: number, element?: string): Promise<void>;
@@ -605,6 +636,7 @@ export default interface JsonwpCommands {
605
636
  *
606
637
  * Double tap on the touch screen using finger motion events.
607
638
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchdoubleclick
639
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a touch gesture!
608
640
  *
609
641
  */
610
642
  touchDoubleClick(element: string): Promise<void>;
@@ -613,6 +645,7 @@ export default interface JsonwpCommands {
613
645
  *
614
646
  * Long press on the touch screen using finger motion events.
615
647
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchlongclick
648
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a touch gesture!
616
649
  *
617
650
  */
618
651
  touchLongClick(element: string): Promise<void>;
@@ -621,6 +654,7 @@ export default interface JsonwpCommands {
621
654
  *
622
655
  * Flick on the touch screen using finger motion events. This flickcommand starts at a particulat screen location.
623
656
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchflick
657
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "action" command instead to execute a touch gesture!
624
658
  *
625
659
  */
626
660
  touchFlick(xoffset?: number, yoffset?: number, element?: string, speed?: number, xspeed?: number, yspeed?: number): Promise<void>;
@@ -629,6 +663,7 @@ export default interface JsonwpCommands {
629
663
  *
630
664
  * Get the current geo location.
631
665
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidlocation
666
+ * @deprecated This command is deprecated and likely not supported by any browser.
632
667
  *
633
668
  */
634
669
  getGeoLocation(): Promise<ProtocolCommandResponse>;
@@ -637,6 +672,7 @@ export default interface JsonwpCommands {
637
672
  *
638
673
  * Set the current geo location.
639
674
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#post-sessionsessionidlocation
675
+ * @deprecated This command is deprecated and likely not supported by any browser.
640
676
  *
641
677
  */
642
678
  setGeoLocation(location: object): Promise<void>;
@@ -645,6 +681,7 @@ export default interface JsonwpCommands {
645
681
  *
646
682
  * Get all keys of the storage.
647
683
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidlocal_storage
684
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
648
685
  *
649
686
  */
650
687
  getLocalStorage(): Promise<string[]>;
@@ -653,6 +690,7 @@ export default interface JsonwpCommands {
653
690
  *
654
691
  * Set the storage item for the given key.
655
692
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#post-sessionsessionidlocal_storage
693
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
656
694
  *
657
695
  */
658
696
  setLocalStorage(key: string, value: string): Promise<void>;
@@ -661,6 +699,7 @@ export default interface JsonwpCommands {
661
699
  *
662
700
  * Clear the storage.
663
701
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidlocal_storage
702
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
664
703
  *
665
704
  */
666
705
  clearLocalStorage(): Promise<void>;
@@ -669,6 +708,7 @@ export default interface JsonwpCommands {
669
708
  *
670
709
  * Get the storage item for the given key.
671
710
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidlocal_storagekeykey
711
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
672
712
  *
673
713
  */
674
714
  getLocalStorageItem(key: string): Promise<string>;
@@ -677,6 +717,7 @@ export default interface JsonwpCommands {
677
717
  *
678
718
  * No description available, please see reference link.
679
719
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#delete-sessionsessionidlocal_storagekeykey
720
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
680
721
  *
681
722
  */
682
723
  deleteLocalStorageItem(key: string): Promise<void>;
@@ -685,6 +726,7 @@ export default interface JsonwpCommands {
685
726
  *
686
727
  * Get the number of items in the storage.
687
728
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidlocal_storagesize
729
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
688
730
  *
689
731
  */
690
732
  getLocalStorageSize(): Promise<number>;
@@ -693,6 +735,7 @@ export default interface JsonwpCommands {
693
735
  *
694
736
  * Get all keys of the storage.
695
737
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidsession_storage
738
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
696
739
  *
697
740
  */
698
741
  getSessionStorage(): Promise<string[]>;
@@ -701,6 +744,7 @@ export default interface JsonwpCommands {
701
744
  *
702
745
  * Set the storage item for the given key.
703
746
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#post-sessionsessionidsession_storage
747
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
704
748
  *
705
749
  */
706
750
  setSessionStorage(key: string, value: string): Promise<void>;
@@ -709,6 +753,7 @@ export default interface JsonwpCommands {
709
753
  *
710
754
  * Clear the storage.
711
755
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#delete-sessionsessionidsession_storage
756
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
712
757
  *
713
758
  */
714
759
  clearSessionStorage(): Promise<void>;
@@ -717,6 +762,7 @@ export default interface JsonwpCommands {
717
762
  *
718
763
  * Get the storage item for the given key.
719
764
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#get-sessionsessionidsession_storagekeykey
765
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
720
766
  *
721
767
  */
722
768
  getSessionStorageItem(key: string): Promise<string>;
@@ -725,6 +771,7 @@ export default interface JsonwpCommands {
725
771
  *
726
772
  * Remove the storage item for the given key.
727
773
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#delete-sessionsessionidsession_storagekeykey
774
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
728
775
  *
729
776
  */
730
777
  deleteSessionStorageItem(key: string): Promise<void>;
@@ -733,6 +780,7 @@ export default interface JsonwpCommands {
733
780
  *
734
781
  * Get the number of items in the storage.
735
782
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidsession_storagesize
783
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "execute" command instead to interact with the session storage interface!
736
784
  *
737
785
  */
738
786
  getSessionStorageSize(): Promise<number>;
@@ -741,6 +789,7 @@ export default interface JsonwpCommands {
741
789
  *
742
790
  * Get the log for a given log type. Log buffer is reset after each request.
743
791
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidlog
792
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "devtools" instead to get logs!
744
793
  *
745
794
  */
746
795
  getLogs(type: string): Promise<object[]>;
@@ -749,6 +798,7 @@ export default interface JsonwpCommands {
749
798
  *
750
799
  * Get available log types.
751
800
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidlogtypes
801
+ * @deprecated This command is deprecated and likely not supported by any browser. Use the "devtools" instead to get logs!
752
802
  *
753
803
  */
754
804
  getLogTypes(): Promise<string[]>;
@@ -757,6 +807,7 @@ export default interface JsonwpCommands {
757
807
  *
758
808
  * Get the status of the html5 application cache.
759
809
  * @ref https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidapplication_cachestatus
810
+ * @deprecated This command is deprecated and likely not supported by any browser.
760
811
  *
761
812
  */
762
813
  getApplicationCacheStatus(): Promise<number>;
@@ -1 +1 @@
1
- {"version":3,"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IAAI,CAAC,CAAC;IAEnC;;;;;;;OAOG;IACH,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAElD;;;;;;;OAOG;IACH,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD;;;;;;;OAOG;IACH,mBAAmB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEvC;;;;;;;OAOG;IACH,iBAAiB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEvC;;;;;;;OAOG;IACH,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7D;;;;;;;OAOG;IACH,mBAAmB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAErC;;;;;;;OAOG;IACH,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEpD;;;;;;;OAOG;IACH,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;;;;;;OAOG;IACH,qBAAqB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEzC;;;;;;;OAOG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEzC;;;;;;;OAOG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEjC;;;;;;;OAOG;IACH,yBAAyB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAChD"}
@@ -1,29 +1,4 @@
1
- import type { Context } from '../types.js';
2
1
  export default interface MjsonwpCommands {
3
- /**
4
- * Mjsonwp Protocol Command
5
- *
6
- * No description available, please see reference link.
7
- * @ref https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts
8
- *
9
- */
10
- getContext(): Promise<Context>;
11
- /**
12
- * Mjsonwp Protocol Command
13
- *
14
- * No description available, please see reference link.
15
- * @ref https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts
16
- *
17
- */
18
- switchContext(name: string): Promise<void>;
19
- /**
20
- * Mjsonwp Protocol Command
21
- *
22
- * No description available, please see reference link.
23
- * @ref https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts
24
- *
25
- */
26
- getContexts(): Promise<Context[]>;
27
2
  /**
28
3
  * Mjsonwp Protocol Command
29
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"mjsonwp.d.ts","sourceRoot":"","sources":["../../src/commands/mjsonwp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAG1C,MAAM,CAAC,OAAO,WAAW,eAAe;IAEpC;;;;;;OAMG;IACH,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAE/B;;;;;;OAMG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3C;;;;;;OAMG;IACH,WAAW,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;IAElC;;;;;;;OAOG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEhC;;;;;;OAMG;IACH,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAExC;;;;;;OAMG;IACH,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElD;;;;;;OAMG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C;;;;;;OAMG;IACH,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzE;;;;;;OAMG;IACH,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtE"}
1
+ {"version":3,"file":"mjsonwp.d.ts","sourceRoot":"","sources":["../../src/commands/mjsonwp.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,WAAW,eAAe;IAEpC;;;;;;;OAOG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEhC;;;;;;OAMG;IACH,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAExC;;;;;;OAMG;IACH,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAElD;;;;;;OAMG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C;;;;;;OAMG;IACH,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzE;;;;;;OAMG;IACH,oBAAoB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACtE"}
@@ -1,4 +1,38 @@
1
1
  declare const _default: {
2
+ '/session/:sessionId/context': {
3
+ GET: {
4
+ command: string;
5
+ ref: string;
6
+ parameters: never[];
7
+ returns: {
8
+ type: string;
9
+ name: string;
10
+ description: string;
11
+ };
12
+ };
13
+ POST: {
14
+ command: string;
15
+ ref: string;
16
+ parameters: {
17
+ name: string;
18
+ type: string;
19
+ description: string;
20
+ required: boolean;
21
+ }[];
22
+ };
23
+ };
24
+ '/session/:sessionId/contexts': {
25
+ GET: {
26
+ command: string;
27
+ ref: string;
28
+ parameters: never[];
29
+ returns: {
30
+ type: string;
31
+ name: string;
32
+ description: string;
33
+ };
34
+ };
35
+ };
2
36
  '/session/:sessionId/appium/device/shake': {
3
37
  POST: {
4
38
  command: string;
@@ -1 +1 @@
1
- {"version":3,"file":"appium.d.ts","sourceRoot":"","sources":["../../src/protocols/appium.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAktDC"}
@@ -1,4 +1,40 @@
1
1
  export default {
2
+ '/session/:sessionId/context': {
3
+ GET: {
4
+ command: 'getContext',
5
+ ref: 'https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts',
6
+ parameters: [],
7
+ returns: {
8
+ type: 'Context',
9
+ name: 'context',
10
+ description: "a string representing the current context or null representing 'no context'",
11
+ },
12
+ },
13
+ POST: {
14
+ command: 'switchContext',
15
+ ref: 'https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts',
16
+ parameters: [
17
+ {
18
+ name: 'name',
19
+ type: 'string',
20
+ description: 'a string representing an available context',
21
+ required: true,
22
+ },
23
+ ],
24
+ },
25
+ },
26
+ '/session/:sessionId/contexts': {
27
+ GET: {
28
+ command: 'getContexts',
29
+ ref: 'https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md#webviews-and-other-contexts',
30
+ parameters: [],
31
+ returns: {
32
+ type: 'Context[]',
33
+ name: 'contexts',
34
+ description: "an array of strings representing available contexts, e.g. 'WEBVIEW', or 'NATIVE'",
35
+ },
36
+ },
37
+ },
2
38
  '/session/:sessionId/appium/device/shake': {
3
39
  POST: {
4
40
  command: 'shake',
@@ -1510,14 +1546,14 @@ export default {
1510
1546
  },
1511
1547
  '/session/:sessionId/appium/execute_driver': {
1512
1548
  POST: {
1513
- command: 'driverScript',
1549
+ command: 'executeDriverScript',
1514
1550
  description: 'This command enables you to specify a WebdriverIO script as a string and transmit it to the Appium server for local execution on the server itself. This approach helps minimize potential latency associated with each command. ***To utilize this command with Appium 2.0, you must have the [`execute-driver-plugin`](https://github.com/appium/appium/tree/master/packages/execute-driver-plugin) plugin installed.***',
1515
1551
  ref: 'https://github.com/appium/appium/blob/master/docs/en/commands/session/execute-driver.md',
1516
1552
  parameters: [
1517
1553
  {
1518
1554
  name: 'script',
1519
1555
  type: 'string',
1520
- description: "The script to execute. It has access to a 'driver' object which represents a webdriverio session attached to the current server.",
1556
+ description: "The script to execute. It has access to a 'driver' object which represents a WebdriverIO session attached to the current server.",
1521
1557
  required: true,
1522
1558
  },
1523
1559
  {