webdriver 9.26.1 → 9.27.1
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/bidi/handler.d.ts +171 -52
- package/build/bidi/handler.d.ts.map +1 -1
- package/build/bidi/localTypes.d.ts +99 -19
- package/build/bidi/localTypes.d.ts.map +1 -1
- package/build/bidi/remoteTypes.d.ts +274 -86
- package/build/bidi/remoteTypes.d.ts.map +1 -1
- package/build/index.js +248 -27
- package/build/node.js +248 -27
- package/package.json +6 -6
package/build/node.js
CHANGED
|
@@ -454,7 +454,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
454
454
|
* WebDriver Bidi command to send command method "session.end" with parameters.
|
|
455
455
|
* @url https://w3c.github.io/webdriver-bidi/#command-session-end
|
|
456
456
|
* @param params `remote.EmptyParams` {@link https://w3c.github.io/webdriver-bidi/#command-session-end | command parameter}
|
|
457
|
-
* @returns `Promise<local.
|
|
457
|
+
* @returns `Promise<local.SessionEndResult>`
|
|
458
458
|
**/
|
|
459
459
|
async sessionEnd(params) {
|
|
460
460
|
const result = await this.send({
|
|
@@ -466,7 +466,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
466
466
|
/**
|
|
467
467
|
* WebDriver Bidi command to send command method "session.subscribe" with parameters.
|
|
468
468
|
* @url https://w3c.github.io/webdriver-bidi/#command-session-subscribe
|
|
469
|
-
* @param params `remote.
|
|
469
|
+
* @param params `remote.SessionSubscribeParameters` {@link https://w3c.github.io/webdriver-bidi/#command-session-subscribe | command parameter}
|
|
470
470
|
* @returns `Promise<local.SessionSubscribeResult>`
|
|
471
471
|
**/
|
|
472
472
|
async sessionSubscribe(params) {
|
|
@@ -480,7 +480,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
480
480
|
* WebDriver Bidi command to send command method "session.unsubscribe" with parameters.
|
|
481
481
|
* @url https://w3c.github.io/webdriver-bidi/#command-session-unsubscribe
|
|
482
482
|
* @param params `remote.SessionUnsubscribeParameters` {@link https://w3c.github.io/webdriver-bidi/#command-session-unsubscribe | command parameter}
|
|
483
|
-
* @returns `Promise<local.
|
|
483
|
+
* @returns `Promise<local.SessionUnsubscribeResult>`
|
|
484
484
|
**/
|
|
485
485
|
async sessionUnsubscribe(params) {
|
|
486
486
|
const result = await this.send({
|
|
@@ -493,7 +493,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
493
493
|
* WebDriver Bidi command to send command method "browser.close" with parameters.
|
|
494
494
|
* @url https://w3c.github.io/webdriver-bidi/#command-browser-close
|
|
495
495
|
* @param params `remote.EmptyParams` {@link https://w3c.github.io/webdriver-bidi/#command-browser-close | command parameter}
|
|
496
|
-
* @returns `Promise<local.
|
|
496
|
+
* @returns `Promise<local.BrowserCloseResult>`
|
|
497
497
|
**/
|
|
498
498
|
async browserClose(params) {
|
|
499
499
|
const result = await this.send({
|
|
@@ -545,7 +545,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
545
545
|
* WebDriver Bidi command to send command method "browser.removeUserContext" with parameters.
|
|
546
546
|
* @url https://w3c.github.io/webdriver-bidi/#command-browser-removeUserContext
|
|
547
547
|
* @param params `remote.BrowserRemoveUserContextParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browser-removeUserContext | command parameter}
|
|
548
|
-
* @returns `Promise<local.
|
|
548
|
+
* @returns `Promise<local.BrowserRemoveUserContextResult>`
|
|
549
549
|
**/
|
|
550
550
|
async browserRemoveUserContext(params) {
|
|
551
551
|
const result = await this.send({
|
|
@@ -558,7 +558,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
558
558
|
* WebDriver Bidi command to send command method "browser.setClientWindowState" with parameters.
|
|
559
559
|
* @url https://w3c.github.io/webdriver-bidi/#command-browser-setClientWindowState
|
|
560
560
|
* @param params `remote.BrowserSetClientWindowStateParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browser-setClientWindowState | command parameter}
|
|
561
|
-
* @returns `Promise<local.
|
|
561
|
+
* @returns `Promise<local.BrowserSetClientWindowStateResult>`
|
|
562
562
|
**/
|
|
563
563
|
async browserSetClientWindowState(params) {
|
|
564
564
|
const result = await this.send({
|
|
@@ -567,11 +567,24 @@ var BidiHandler = class extends BidiCore {
|
|
|
567
567
|
});
|
|
568
568
|
return result.result;
|
|
569
569
|
}
|
|
570
|
+
/**
|
|
571
|
+
* WebDriver Bidi command to send command method "browser.setDownloadBehavior" with parameters.
|
|
572
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-browser-setDownloadBehavior
|
|
573
|
+
* @param params `remote.BrowserSetDownloadBehaviorParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browser-setDownloadBehavior | command parameter}
|
|
574
|
+
* @returns `Promise<local.BrowserSetDownloadBehaviorResult>`
|
|
575
|
+
**/
|
|
576
|
+
async browserSetDownloadBehavior(params) {
|
|
577
|
+
const result = await this.send({
|
|
578
|
+
method: "browser.setDownloadBehavior",
|
|
579
|
+
params
|
|
580
|
+
});
|
|
581
|
+
return result.result;
|
|
582
|
+
}
|
|
570
583
|
/**
|
|
571
584
|
* WebDriver Bidi command to send command method "browsingContext.activate" with parameters.
|
|
572
585
|
* @url https://w3c.github.io/webdriver-bidi/#command-browsingContext-activate
|
|
573
586
|
* @param params `remote.BrowsingContextActivateParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browsingContext-activate | command parameter}
|
|
574
|
-
* @returns `Promise<local.
|
|
587
|
+
* @returns `Promise<local.BrowsingContextActivateResult>`
|
|
575
588
|
**/
|
|
576
589
|
async browsingContextActivate(params) {
|
|
577
590
|
const result = await this.send({
|
|
@@ -597,7 +610,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
597
610
|
* WebDriver Bidi command to send command method "browsingContext.close" with parameters.
|
|
598
611
|
* @url https://w3c.github.io/webdriver-bidi/#command-browsingContext-close
|
|
599
612
|
* @param params `remote.BrowsingContextCloseParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browsingContext-close | command parameter}
|
|
600
|
-
* @returns `Promise<local.
|
|
613
|
+
* @returns `Promise<local.BrowsingContextCloseResult>`
|
|
601
614
|
**/
|
|
602
615
|
async browsingContextClose(params) {
|
|
603
616
|
const result = await this.send({
|
|
@@ -636,7 +649,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
636
649
|
* WebDriver Bidi command to send command method "browsingContext.handleUserPrompt" with parameters.
|
|
637
650
|
* @url https://w3c.github.io/webdriver-bidi/#command-browsingContext-handleUserPrompt
|
|
638
651
|
* @param params `remote.BrowsingContextHandleUserPromptParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browsingContext-handleUserPrompt | command parameter}
|
|
639
|
-
* @returns `Promise<local.
|
|
652
|
+
* @returns `Promise<local.BrowsingContextHandleUserPromptResult>`
|
|
640
653
|
**/
|
|
641
654
|
async browsingContextHandleUserPrompt(params) {
|
|
642
655
|
const result = await this.send({
|
|
@@ -688,7 +701,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
688
701
|
* WebDriver Bidi command to send command method "browsingContext.reload" with parameters.
|
|
689
702
|
* @url https://w3c.github.io/webdriver-bidi/#command-browsingContext-reload
|
|
690
703
|
* @param params `remote.BrowsingContextReloadParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browsingContext-reload | command parameter}
|
|
691
|
-
* @returns `Promise<local.
|
|
704
|
+
* @returns `Promise<local.BrowsingContextReloadResult>`
|
|
692
705
|
**/
|
|
693
706
|
async browsingContextReload(params) {
|
|
694
707
|
const result = await this.send({
|
|
@@ -697,11 +710,24 @@ var BidiHandler = class extends BidiCore {
|
|
|
697
710
|
});
|
|
698
711
|
return result.result;
|
|
699
712
|
}
|
|
713
|
+
/**
|
|
714
|
+
* WebDriver Bidi command to send command method "browsingContext.setBypassCSP" with parameters.
|
|
715
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-browsingContext-setBypassCSP
|
|
716
|
+
* @param params `remote.BrowsingContextSetBypassCspParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browsingContext-setBypassCSP | command parameter}
|
|
717
|
+
* @returns `Promise<local.BrowsingContextSetBypassCspResult>`
|
|
718
|
+
**/
|
|
719
|
+
async browsingContextSetBypassCsp(params) {
|
|
720
|
+
const result = await this.send({
|
|
721
|
+
method: "browsingContext.setBypassCSP",
|
|
722
|
+
params
|
|
723
|
+
});
|
|
724
|
+
return result.result;
|
|
725
|
+
}
|
|
700
726
|
/**
|
|
701
727
|
* WebDriver Bidi command to send command method "browsingContext.setViewport" with parameters.
|
|
702
728
|
* @url https://w3c.github.io/webdriver-bidi/#command-browsingContext-setViewport
|
|
703
729
|
* @param params `remote.BrowsingContextSetViewportParameters` {@link https://w3c.github.io/webdriver-bidi/#command-browsingContext-setViewport | command parameter}
|
|
704
|
-
* @returns `Promise<local.
|
|
730
|
+
* @returns `Promise<local.BrowsingContextSetViewportResult>`
|
|
705
731
|
**/
|
|
706
732
|
async browsingContextSetViewport(params) {
|
|
707
733
|
const result = await this.send({
|
|
@@ -723,11 +749,24 @@ var BidiHandler = class extends BidiCore {
|
|
|
723
749
|
});
|
|
724
750
|
return result.result;
|
|
725
751
|
}
|
|
752
|
+
/**
|
|
753
|
+
* WebDriver Bidi command to send command method "emulation.setForcedColorsModeThemeOverride" with parameters.
|
|
754
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setForcedColorsModeThemeOverride
|
|
755
|
+
* @param params `remote.EmulationSetForcedColorsModeThemeOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setForcedColorsModeThemeOverride | command parameter}
|
|
756
|
+
* @returns `Promise<local.EmulationSetForcedColorsModeThemeOverrideResult>`
|
|
757
|
+
**/
|
|
758
|
+
async emulationSetForcedColorsModeThemeOverride(params) {
|
|
759
|
+
const result = await this.send({
|
|
760
|
+
method: "emulation.setForcedColorsModeThemeOverride",
|
|
761
|
+
params
|
|
762
|
+
});
|
|
763
|
+
return result.result;
|
|
764
|
+
}
|
|
726
765
|
/**
|
|
727
766
|
* WebDriver Bidi command to send command method "emulation.setGeolocationOverride" with parameters.
|
|
728
767
|
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setGeolocationOverride
|
|
729
768
|
* @param params `remote.EmulationSetGeolocationOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setGeolocationOverride | command parameter}
|
|
730
|
-
* @returns `Promise<local.
|
|
769
|
+
* @returns `Promise<local.EmulationSetGeolocationOverrideResult>`
|
|
731
770
|
**/
|
|
732
771
|
async emulationSetGeolocationOverride(params) {
|
|
733
772
|
const result = await this.send({
|
|
@@ -736,6 +775,136 @@ var BidiHandler = class extends BidiCore {
|
|
|
736
775
|
});
|
|
737
776
|
return result.result;
|
|
738
777
|
}
|
|
778
|
+
/**
|
|
779
|
+
* WebDriver Bidi command to send command method "emulation.setLocaleOverride" with parameters.
|
|
780
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setLocaleOverride
|
|
781
|
+
* @param params `remote.EmulationSetLocaleOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setLocaleOverride | command parameter}
|
|
782
|
+
* @returns `Promise<local.EmulationSetLocaleOverrideResult>`
|
|
783
|
+
**/
|
|
784
|
+
async emulationSetLocaleOverride(params) {
|
|
785
|
+
const result = await this.send({
|
|
786
|
+
method: "emulation.setLocaleOverride",
|
|
787
|
+
params
|
|
788
|
+
});
|
|
789
|
+
return result.result;
|
|
790
|
+
}
|
|
791
|
+
/**
|
|
792
|
+
* WebDriver Bidi command to send command method "emulation.setNetworkConditions" with parameters.
|
|
793
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setNetworkConditions
|
|
794
|
+
* @param params `remote.EmulationSetNetworkConditionsParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setNetworkConditions | command parameter}
|
|
795
|
+
* @returns `Promise<local.EmulationSetNetworkConditionsResult>`
|
|
796
|
+
**/
|
|
797
|
+
async emulationSetNetworkConditions(params) {
|
|
798
|
+
const result = await this.send({
|
|
799
|
+
method: "emulation.setNetworkConditions",
|
|
800
|
+
params
|
|
801
|
+
});
|
|
802
|
+
return result.result;
|
|
803
|
+
}
|
|
804
|
+
/**
|
|
805
|
+
* WebDriver Bidi command to send command method "emulation.setScreenSettingsOverride" with parameters.
|
|
806
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenSettingsOverride
|
|
807
|
+
* @param params `remote.EmulationSetScreenSettingsOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenSettingsOverride | command parameter}
|
|
808
|
+
* @returns `Promise<local.EmulationSetScreenSettingsOverrideResult>`
|
|
809
|
+
**/
|
|
810
|
+
async emulationSetScreenSettingsOverride(params) {
|
|
811
|
+
const result = await this.send({
|
|
812
|
+
method: "emulation.setScreenSettingsOverride",
|
|
813
|
+
params
|
|
814
|
+
});
|
|
815
|
+
return result.result;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* WebDriver Bidi command to send command method "emulation.setScreenOrientationOverride" with parameters.
|
|
819
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenOrientationOverride
|
|
820
|
+
* @param params `remote.EmulationSetScreenOrientationOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenOrientationOverride | command parameter}
|
|
821
|
+
* @returns `Promise<local.EmulationSetScreenOrientationOverrideResult>`
|
|
822
|
+
**/
|
|
823
|
+
async emulationSetScreenOrientationOverride(params) {
|
|
824
|
+
const result = await this.send({
|
|
825
|
+
method: "emulation.setScreenOrientationOverride",
|
|
826
|
+
params
|
|
827
|
+
});
|
|
828
|
+
return result.result;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* WebDriver Bidi command to send command method "emulation.setUserAgentOverride" with parameters.
|
|
832
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setUserAgentOverride
|
|
833
|
+
* @param params `remote.EmulationSetUserAgentOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setUserAgentOverride | command parameter}
|
|
834
|
+
* @returns `Promise<local.EmulationSetUserAgentOverrideResult>`
|
|
835
|
+
**/
|
|
836
|
+
async emulationSetUserAgentOverride(params) {
|
|
837
|
+
const result = await this.send({
|
|
838
|
+
method: "emulation.setUserAgentOverride",
|
|
839
|
+
params
|
|
840
|
+
});
|
|
841
|
+
return result.result;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* WebDriver Bidi command to send command method "emulation.setScriptingEnabled" with parameters.
|
|
845
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setScriptingEnabled
|
|
846
|
+
* @param params `remote.EmulationSetScriptingEnabledParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setScriptingEnabled | command parameter}
|
|
847
|
+
* @returns `Promise<local.EmulationSetScriptingEnabledResult>`
|
|
848
|
+
**/
|
|
849
|
+
async emulationSetScriptingEnabled(params) {
|
|
850
|
+
const result = await this.send({
|
|
851
|
+
method: "emulation.setScriptingEnabled",
|
|
852
|
+
params
|
|
853
|
+
});
|
|
854
|
+
return result.result;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* WebDriver Bidi command to send command method "emulation.setScrollbarTypeOverride" with parameters.
|
|
858
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setScrollbarTypeOverride
|
|
859
|
+
* @param params `remote.EmulationSetScrollbarTypeOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setScrollbarTypeOverride | command parameter}
|
|
860
|
+
* @returns `Promise<local.EmulationSetScrollbarTypeOverrideResult>`
|
|
861
|
+
**/
|
|
862
|
+
async emulationSetScrollbarTypeOverride(params) {
|
|
863
|
+
const result = await this.send({
|
|
864
|
+
method: "emulation.setScrollbarTypeOverride",
|
|
865
|
+
params
|
|
866
|
+
});
|
|
867
|
+
return result.result;
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
* WebDriver Bidi command to send command method "emulation.setTimezoneOverride" with parameters.
|
|
871
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setTimezoneOverride
|
|
872
|
+
* @param params `remote.EmulationSetTimezoneOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setTimezoneOverride | command parameter}
|
|
873
|
+
* @returns `Promise<local.EmulationSetTimezoneOverrideResult>`
|
|
874
|
+
**/
|
|
875
|
+
async emulationSetTimezoneOverride(params) {
|
|
876
|
+
const result = await this.send({
|
|
877
|
+
method: "emulation.setTimezoneOverride",
|
|
878
|
+
params
|
|
879
|
+
});
|
|
880
|
+
return result.result;
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* WebDriver Bidi command to send command method "emulation.setTouchOverride" with parameters.
|
|
884
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-emulation-setTouchOverride
|
|
885
|
+
* @param params `remote.EmulationSetTouchOverrideParameters` {@link https://w3c.github.io/webdriver-bidi/#command-emulation-setTouchOverride | command parameter}
|
|
886
|
+
* @returns `Promise<local.EmulationSetTouchOverrideResult>`
|
|
887
|
+
**/
|
|
888
|
+
async emulationSetTouchOverride(params) {
|
|
889
|
+
const result = await this.send({
|
|
890
|
+
method: "emulation.setTouchOverride",
|
|
891
|
+
params
|
|
892
|
+
});
|
|
893
|
+
return result.result;
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* WebDriver Bidi command to send command method "network.addDataCollector" with parameters.
|
|
897
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-network-addDataCollector
|
|
898
|
+
* @param params `remote.NetworkAddDataCollectorParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-addDataCollector | command parameter}
|
|
899
|
+
* @returns `Promise<local.NetworkAddDataCollectorResult>`
|
|
900
|
+
**/
|
|
901
|
+
async networkAddDataCollector(params) {
|
|
902
|
+
const result = await this.send({
|
|
903
|
+
method: "network.addDataCollector",
|
|
904
|
+
params
|
|
905
|
+
});
|
|
906
|
+
return result.result;
|
|
907
|
+
}
|
|
739
908
|
/**
|
|
740
909
|
* WebDriver Bidi command to send command method "network.addIntercept" with parameters.
|
|
741
910
|
* @url https://w3c.github.io/webdriver-bidi/#command-network-addIntercept
|
|
@@ -753,7 +922,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
753
922
|
* WebDriver Bidi command to send command method "network.continueRequest" with parameters.
|
|
754
923
|
* @url https://w3c.github.io/webdriver-bidi/#command-network-continueRequest
|
|
755
924
|
* @param params `remote.NetworkContinueRequestParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-continueRequest | command parameter}
|
|
756
|
-
* @returns `Promise<local.
|
|
925
|
+
* @returns `Promise<local.NetworkContinueRequestResult>`
|
|
757
926
|
**/
|
|
758
927
|
async networkContinueRequest(params) {
|
|
759
928
|
const result = await this.send({
|
|
@@ -766,7 +935,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
766
935
|
* WebDriver Bidi command to send command method "network.continueResponse" with parameters.
|
|
767
936
|
* @url https://w3c.github.io/webdriver-bidi/#command-network-continueResponse
|
|
768
937
|
* @param params `remote.NetworkContinueResponseParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-continueResponse | command parameter}
|
|
769
|
-
* @returns `Promise<local.
|
|
938
|
+
* @returns `Promise<local.NetworkContinueResponseResult>`
|
|
770
939
|
**/
|
|
771
940
|
async networkContinueResponse(params) {
|
|
772
941
|
const result = await this.send({
|
|
@@ -779,7 +948,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
779
948
|
* WebDriver Bidi command to send command method "network.continueWithAuth" with parameters.
|
|
780
949
|
* @url https://w3c.github.io/webdriver-bidi/#command-network-continueWithAuth
|
|
781
950
|
* @param params `remote.NetworkContinueWithAuthParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-continueWithAuth | command parameter}
|
|
782
|
-
* @returns `Promise<local.
|
|
951
|
+
* @returns `Promise<local.NetworkContinueWithAuthResult>`
|
|
783
952
|
**/
|
|
784
953
|
async networkContinueWithAuth(params) {
|
|
785
954
|
const result = await this.send({
|
|
@@ -788,11 +957,24 @@ var BidiHandler = class extends BidiCore {
|
|
|
788
957
|
});
|
|
789
958
|
return result.result;
|
|
790
959
|
}
|
|
960
|
+
/**
|
|
961
|
+
* WebDriver Bidi command to send command method "network.disownData" with parameters.
|
|
962
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-network-disownData
|
|
963
|
+
* @param params `remote.NetworkDisownDataParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-disownData | command parameter}
|
|
964
|
+
* @returns `Promise<local.NetworkDisownDataResult>`
|
|
965
|
+
**/
|
|
966
|
+
async networkDisownData(params) {
|
|
967
|
+
const result = await this.send({
|
|
968
|
+
method: "network.disownData",
|
|
969
|
+
params
|
|
970
|
+
});
|
|
971
|
+
return result.result;
|
|
972
|
+
}
|
|
791
973
|
/**
|
|
792
974
|
* WebDriver Bidi command to send command method "network.failRequest" with parameters.
|
|
793
975
|
* @url https://w3c.github.io/webdriver-bidi/#command-network-failRequest
|
|
794
976
|
* @param params `remote.NetworkFailRequestParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-failRequest | command parameter}
|
|
795
|
-
* @returns `Promise<local.
|
|
977
|
+
* @returns `Promise<local.NetworkFailRequestResult>`
|
|
796
978
|
**/
|
|
797
979
|
async networkFailRequest(params) {
|
|
798
980
|
const result = await this.send({
|
|
@@ -801,11 +983,24 @@ var BidiHandler = class extends BidiCore {
|
|
|
801
983
|
});
|
|
802
984
|
return result.result;
|
|
803
985
|
}
|
|
986
|
+
/**
|
|
987
|
+
* WebDriver Bidi command to send command method "network.getData" with parameters.
|
|
988
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-network-getData
|
|
989
|
+
* @param params `remote.NetworkGetDataParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-getData | command parameter}
|
|
990
|
+
* @returns `Promise<local.NetworkGetDataResult>`
|
|
991
|
+
**/
|
|
992
|
+
async networkGetData(params) {
|
|
993
|
+
const result = await this.send({
|
|
994
|
+
method: "network.getData",
|
|
995
|
+
params
|
|
996
|
+
});
|
|
997
|
+
return result.result;
|
|
998
|
+
}
|
|
804
999
|
/**
|
|
805
1000
|
* WebDriver Bidi command to send command method "network.provideResponse" with parameters.
|
|
806
1001
|
* @url https://w3c.github.io/webdriver-bidi/#command-network-provideResponse
|
|
807
1002
|
* @param params `remote.NetworkProvideResponseParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-provideResponse | command parameter}
|
|
808
|
-
* @returns `Promise<local.
|
|
1003
|
+
* @returns `Promise<local.NetworkProvideResponseResult>`
|
|
809
1004
|
**/
|
|
810
1005
|
async networkProvideResponse(params) {
|
|
811
1006
|
const result = await this.send({
|
|
@@ -814,11 +1009,24 @@ var BidiHandler = class extends BidiCore {
|
|
|
814
1009
|
});
|
|
815
1010
|
return result.result;
|
|
816
1011
|
}
|
|
1012
|
+
/**
|
|
1013
|
+
* WebDriver Bidi command to send command method "network.removeDataCollector" with parameters.
|
|
1014
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-network-removeDataCollector
|
|
1015
|
+
* @param params `remote.NetworkRemoveDataCollectorParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-removeDataCollector | command parameter}
|
|
1016
|
+
* @returns `Promise<local.NetworkRemoveDataCollectorResult>`
|
|
1017
|
+
**/
|
|
1018
|
+
async networkRemoveDataCollector(params) {
|
|
1019
|
+
const result = await this.send({
|
|
1020
|
+
method: "network.removeDataCollector",
|
|
1021
|
+
params
|
|
1022
|
+
});
|
|
1023
|
+
return result.result;
|
|
1024
|
+
}
|
|
817
1025
|
/**
|
|
818
1026
|
* WebDriver Bidi command to send command method "network.removeIntercept" with parameters.
|
|
819
1027
|
* @url https://w3c.github.io/webdriver-bidi/#command-network-removeIntercept
|
|
820
1028
|
* @param params `remote.NetworkRemoveInterceptParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-removeIntercept | command parameter}
|
|
821
|
-
* @returns `Promise<local.
|
|
1029
|
+
* @returns `Promise<local.NetworkRemoveInterceptResult>`
|
|
822
1030
|
**/
|
|
823
1031
|
async networkRemoveIntercept(params) {
|
|
824
1032
|
const result = await this.send({
|
|
@@ -831,7 +1039,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
831
1039
|
* WebDriver Bidi command to send command method "network.setCacheBehavior" with parameters.
|
|
832
1040
|
* @url https://w3c.github.io/webdriver-bidi/#command-network-setCacheBehavior
|
|
833
1041
|
* @param params `remote.NetworkSetCacheBehaviorParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-setCacheBehavior | command parameter}
|
|
834
|
-
* @returns `Promise<local.
|
|
1042
|
+
* @returns `Promise<local.NetworkSetCacheBehaviorResult>`
|
|
835
1043
|
**/
|
|
836
1044
|
async networkSetCacheBehavior(params) {
|
|
837
1045
|
const result = await this.send({
|
|
@@ -840,6 +1048,19 @@ var BidiHandler = class extends BidiCore {
|
|
|
840
1048
|
});
|
|
841
1049
|
return result.result;
|
|
842
1050
|
}
|
|
1051
|
+
/**
|
|
1052
|
+
* WebDriver Bidi command to send command method "network.setExtraHeaders" with parameters.
|
|
1053
|
+
* @url https://w3c.github.io/webdriver-bidi/#command-network-setExtraHeaders
|
|
1054
|
+
* @param params `remote.NetworkSetExtraHeadersParameters` {@link https://w3c.github.io/webdriver-bidi/#command-network-setExtraHeaders | command parameter}
|
|
1055
|
+
* @returns `Promise<local.NetworkSetExtraHeadersResult>`
|
|
1056
|
+
**/
|
|
1057
|
+
async networkSetExtraHeaders(params) {
|
|
1058
|
+
const result = await this.send({
|
|
1059
|
+
method: "network.setExtraHeaders",
|
|
1060
|
+
params
|
|
1061
|
+
});
|
|
1062
|
+
return result.result;
|
|
1063
|
+
}
|
|
843
1064
|
/**
|
|
844
1065
|
* WebDriver Bidi command to send command method "script.addPreloadScript" with parameters.
|
|
845
1066
|
* @url https://w3c.github.io/webdriver-bidi/#command-script-addPreloadScript
|
|
@@ -857,7 +1078,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
857
1078
|
* WebDriver Bidi command to send command method "script.disown" with parameters.
|
|
858
1079
|
* @url https://w3c.github.io/webdriver-bidi/#command-script-disown
|
|
859
1080
|
* @param params `remote.ScriptDisownParameters` {@link https://w3c.github.io/webdriver-bidi/#command-script-disown | command parameter}
|
|
860
|
-
* @returns `Promise<local.
|
|
1081
|
+
* @returns `Promise<local.ScriptDisownResult>`
|
|
861
1082
|
**/
|
|
862
1083
|
async scriptDisown(params) {
|
|
863
1084
|
const result = await this.send({
|
|
@@ -870,7 +1091,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
870
1091
|
* WebDriver Bidi command to send command method "script.callFunction" with parameters.
|
|
871
1092
|
* @url https://w3c.github.io/webdriver-bidi/#command-script-callFunction
|
|
872
1093
|
* @param params `remote.ScriptCallFunctionParameters` {@link https://w3c.github.io/webdriver-bidi/#command-script-callFunction | command parameter}
|
|
873
|
-
* @returns `Promise<local.
|
|
1094
|
+
* @returns `Promise<local.ScriptCallFunctionResult>`
|
|
874
1095
|
**/
|
|
875
1096
|
async scriptCallFunction(params) {
|
|
876
1097
|
const result = await this.send({
|
|
@@ -909,7 +1130,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
909
1130
|
* WebDriver Bidi command to send command method "script.removePreloadScript" with parameters.
|
|
910
1131
|
* @url https://w3c.github.io/webdriver-bidi/#command-script-removePreloadScript
|
|
911
1132
|
* @param params `remote.ScriptRemovePreloadScriptParameters` {@link https://w3c.github.io/webdriver-bidi/#command-script-removePreloadScript | command parameter}
|
|
912
|
-
* @returns `Promise<local.
|
|
1133
|
+
* @returns `Promise<local.ScriptRemovePreloadScriptResult>`
|
|
913
1134
|
**/
|
|
914
1135
|
async scriptRemovePreloadScript(params) {
|
|
915
1136
|
const result = await this.send({
|
|
@@ -961,7 +1182,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
961
1182
|
* WebDriver Bidi command to send command method "input.performActions" with parameters.
|
|
962
1183
|
* @url https://w3c.github.io/webdriver-bidi/#command-input-performActions
|
|
963
1184
|
* @param params `remote.InputPerformActionsParameters` {@link https://w3c.github.io/webdriver-bidi/#command-input-performActions | command parameter}
|
|
964
|
-
* @returns `Promise<local.
|
|
1185
|
+
* @returns `Promise<local.InputPerformActionsResult>`
|
|
965
1186
|
**/
|
|
966
1187
|
async inputPerformActions(params) {
|
|
967
1188
|
const result = await this.send({
|
|
@@ -974,7 +1195,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
974
1195
|
* WebDriver Bidi command to send command method "input.releaseActions" with parameters.
|
|
975
1196
|
* @url https://w3c.github.io/webdriver-bidi/#command-input-releaseActions
|
|
976
1197
|
* @param params `remote.InputReleaseActionsParameters` {@link https://w3c.github.io/webdriver-bidi/#command-input-releaseActions | command parameter}
|
|
977
|
-
* @returns `Promise<local.
|
|
1198
|
+
* @returns `Promise<local.InputReleaseActionsResult>`
|
|
978
1199
|
**/
|
|
979
1200
|
async inputReleaseActions(params) {
|
|
980
1201
|
const result = await this.send({
|
|
@@ -987,7 +1208,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
987
1208
|
* WebDriver Bidi command to send command method "input.setFiles" with parameters.
|
|
988
1209
|
* @url https://w3c.github.io/webdriver-bidi/#command-input-setFiles
|
|
989
1210
|
* @param params `remote.InputSetFilesParameters` {@link https://w3c.github.io/webdriver-bidi/#command-input-setFiles | command parameter}
|
|
990
|
-
* @returns `Promise<local.
|
|
1211
|
+
* @returns `Promise<local.InputSetFilesResult>`
|
|
991
1212
|
**/
|
|
992
1213
|
async inputSetFiles(params) {
|
|
993
1214
|
const result = await this.send({
|
|
@@ -1013,7 +1234,7 @@ var BidiHandler = class extends BidiCore {
|
|
|
1013
1234
|
* WebDriver Bidi command to send command method "webExtension.uninstall" with parameters.
|
|
1014
1235
|
* @url https://w3c.github.io/webdriver-bidi/#command-webExtension-uninstall
|
|
1015
1236
|
* @param params `remote.WebExtensionUninstallParameters` {@link https://w3c.github.io/webdriver-bidi/#command-webExtension-uninstall | command parameter}
|
|
1016
|
-
* @returns `Promise<local.
|
|
1237
|
+
* @returns `Promise<local.WebExtensionUninstallResult>`
|
|
1017
1238
|
**/
|
|
1018
1239
|
async webExtensionUninstall(params) {
|
|
1019
1240
|
const result = await this.send({
|
|
@@ -1775,7 +1996,7 @@ var WebDriverResponseError = class _WebDriverResponseError extends WebDriverErro
|
|
|
1775
1996
|
// package.json
|
|
1776
1997
|
var package_default = {
|
|
1777
1998
|
name: "webdriver",
|
|
1778
|
-
version: "9.
|
|
1999
|
+
version: "9.27.0",
|
|
1779
2000
|
description: "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
|
|
1780
2001
|
author: "Christian Bromann <mail@bromann.dev>",
|
|
1781
2002
|
homepage: "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "webdriver",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.27.1",
|
|
4
4
|
"description": "A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/webdriver",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@types/node": "^20.1.0",
|
|
40
40
|
"@types/ws": "^8.5.3",
|
|
41
|
-
"@wdio/config": "9.
|
|
41
|
+
"@wdio/config": "9.27.1",
|
|
42
42
|
"@wdio/logger": "9.18.0",
|
|
43
|
-
"@wdio/protocols": "9.
|
|
44
|
-
"@wdio/types": "9.
|
|
45
|
-
"@wdio/utils": "9.
|
|
43
|
+
"@wdio/protocols": "9.27.1",
|
|
44
|
+
"@wdio/types": "9.27.1",
|
|
45
|
+
"@wdio/utils": "9.27.1",
|
|
46
46
|
"deepmerge-ts": "^7.0.3",
|
|
47
47
|
"https-proxy-agent": "^7.0.6",
|
|
48
48
|
"undici": "^6.21.3",
|
|
49
49
|
"ws": "^8.8.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "e2b5652f61da0858251860e7d3bc0c0aaffbb525"
|
|
52
52
|
}
|