chromium-bidi 0.4.19 → 0.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browser +1 -1
- package/README.md +19 -2
- package/lib/cjs/bidiMapper/BidiNoOpParser.d.ts +8 -1
- package/lib/cjs/bidiMapper/BidiNoOpParser.js +24 -0
- package/lib/cjs/bidiMapper/BidiNoOpParser.js.map +1 -1
- package/lib/cjs/bidiMapper/BidiParser.d.ts +8 -1
- package/lib/cjs/bidiMapper/BidiServer.d.ts +2 -1
- package/lib/cjs/bidiMapper/BidiServer.js +5 -5
- package/lib/cjs/bidiMapper/BidiServer.js.map +1 -1
- package/lib/cjs/bidiMapper/CommandProcessor.d.ts +12 -5
- package/lib/cjs/bidiMapper/CommandProcessor.js +51 -9
- package/lib/cjs/bidiMapper/CommandProcessor.js.map +1 -1
- package/lib/cjs/bidiMapper/OutgoingBidiMessage.d.ts +3 -2
- package/lib/cjs/bidiMapper/OutgoingBidiMessage.js +15 -4
- package/lib/cjs/bidiMapper/OutgoingBidiMessage.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/browser/BrowserProcessor.d.ts +23 -0
- package/lib/cjs/bidiMapper/domains/browser/BrowserProcessor.js +34 -0
- package/lib/cjs/bidiMapper/domains/browser/BrowserProcessor.js.map +1 -0
- package/lib/cjs/bidiMapper/domains/context/browsingContextImpl.d.ts +5 -3
- package/lib/cjs/bidiMapper/domains/context/browsingContextImpl.js +6 -13
- package/lib/cjs/bidiMapper/domains/context/browsingContextImpl.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/context/browsingContextProcessor.d.ts +3 -2
- package/lib/cjs/bidiMapper/domains/context/browsingContextProcessor.js +6 -4
- package/lib/cjs/bidiMapper/domains/context/browsingContextProcessor.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/context/cdpTarget.d.ts +20 -6
- package/lib/cjs/bidiMapper/domains/context/cdpTarget.js +32 -9
- package/lib/cjs/bidiMapper/domains/context/cdpTarget.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/events/EventManager.d.ts +3 -8
- package/lib/cjs/bidiMapper/domains/events/EventManager.js +7 -3
- package/lib/cjs/bidiMapper/domains/events/EventManager.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/events/SubscriptionManager.js +17 -26
- package/lib/cjs/bidiMapper/domains/events/SubscriptionManager.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/input/InputProcessor.d.ts +1 -2
- package/lib/cjs/bidiMapper/domains/input/InputProcessor.js +0 -3
- package/lib/cjs/bidiMapper/domains/input/InputProcessor.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/log/logManager.d.ts +2 -2
- package/lib/cjs/bidiMapper/domains/log/logManager.js +31 -25
- package/lib/cjs/bidiMapper/domains/log/logManager.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/network/NetworkManager.d.ts +6 -4
- package/lib/cjs/bidiMapper/domains/network/NetworkManager.js +38 -43
- package/lib/cjs/bidiMapper/domains/network/NetworkManager.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/network/NetworkProcessor.d.ts +33 -0
- package/lib/cjs/bidiMapper/domains/network/NetworkProcessor.js +74 -0
- package/lib/cjs/bidiMapper/domains/network/NetworkProcessor.js.map +1 -0
- package/lib/cjs/bidiMapper/domains/network/{networkRequest.d.ts → NetworkRequest.d.ts} +3 -2
- package/lib/cjs/bidiMapper/domains/network/{networkRequest.js → NetworkRequest.js} +82 -27
- package/lib/cjs/bidiMapper/domains/network/NetworkRequest.js.map +1 -0
- package/lib/cjs/bidiMapper/domains/network/NetworkStorage.d.ts +58 -0
- package/lib/cjs/bidiMapper/domains/network/NetworkStorage.js +134 -0
- package/lib/cjs/bidiMapper/domains/network/NetworkStorage.js.map +1 -0
- package/lib/cjs/bidiMapper/domains/script/ScriptProcessor.d.ts +2 -1
- package/lib/cjs/bidiMapper/domains/script/ScriptProcessor.js +6 -4
- package/lib/cjs/bidiMapper/domains/script/ScriptProcessor.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/script/bidiPreloadScript.d.ts +5 -3
- package/lib/cjs/bidiMapper/domains/script/bidiPreloadScript.js +2 -2
- package/lib/cjs/bidiMapper/domains/script/bidiPreloadScript.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/script/channelProxy.d.ts +5 -4
- package/lib/cjs/bidiMapper/domains/script/channelProxy.js +45 -38
- package/lib/cjs/bidiMapper/domains/script/channelProxy.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/script/realm.d.ts +4 -4
- package/lib/cjs/bidiMapper/domains/script/realm.js +6 -4
- package/lib/cjs/bidiMapper/domains/script/realm.js.map +1 -1
- package/lib/cjs/bidiMapper/domains/script/realmStorage.d.ts +1 -1
- package/lib/cjs/bidiMapper/domains/session/SessionProcessor.d.ts +4 -4
- package/lib/cjs/bidiMapper/domains/session/SessionProcessor.js +4 -4
- package/lib/cjs/bidiMapper/domains/session/SessionProcessor.js.map +1 -1
- package/lib/cjs/bidiMapper/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/bidiServer/bidiServerRunner.d.ts +1 -1
- package/lib/cjs/bidiServer/bidiServerRunner.js +24 -12
- package/lib/cjs/bidiServer/bidiServerRunner.js.map +1 -1
- package/lib/cjs/bidiServer/index.js +6 -3
- package/lib/cjs/bidiServer/index.js.map +1 -1
- package/lib/cjs/bidiServer/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/bidiTab/BidiParserImpl.d.ts +8 -1
- package/lib/cjs/bidiTab/BidiParserImpl.js +24 -0
- package/lib/cjs/bidiTab/BidiParserImpl.js.map +1 -1
- package/lib/cjs/bidiTab/bidiTab.js +5 -3
- package/lib/cjs/bidiTab/bidiTab.js.map +1 -1
- package/lib/cjs/bidiTab/mapperTabPage.js +1 -2
- package/lib/cjs/bidiTab/mapperTabPage.js.map +1 -1
- package/lib/cjs/bidiTab/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/cdp/cdpClient.d.ts +5 -6
- package/lib/cjs/cdp/cdpClient.js.map +1 -1
- package/lib/cjs/cdp/cdpConnection.d.ts +7 -4
- package/lib/cjs/cdp/cdpConnection.js +5 -3
- package/lib/cjs/cdp/cdpConnection.js.map +1 -1
- package/lib/cjs/cdp/cdpMessage.d.ts +2 -1
- package/lib/cjs/cdp/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/protocol/ErrorResponse.d.ts +18 -6
- package/lib/cjs/protocol/ErrorResponse.js +41 -33
- package/lib/cjs/protocol/ErrorResponse.js.map +1 -1
- package/lib/cjs/protocol/cdp.d.ts +5 -4
- package/lib/cjs/protocol/chromium-bidi.d.ts +10 -6
- package/lib/cjs/protocol/chromium-bidi.js +10 -5
- package/lib/cjs/protocol/chromium-bidi.js.map +1 -1
- package/lib/cjs/protocol/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/protocol/webdriver-bidi.d.ts +258 -44
- package/lib/cjs/protocol-parser/protocol-parser.d.ts +145 -2
- package/lib/cjs/protocol-parser/protocol-parser.js +33 -1
- package/lib/cjs/protocol-parser/protocol-parser.js.map +1 -1
- package/lib/cjs/protocol-parser/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/protocol-parser/webdriver-bidi.d.ts +19567 -9508
- package/lib/cjs/protocol-parser/webdriver-bidi.js +202 -4
- package/lib/cjs/protocol-parser/webdriver-bidi.js.map +1 -1
- package/lib/cjs/utils/assert.js +2 -2
- package/lib/cjs/utils/assert.js.map +1 -1
- package/lib/cjs/utils/deferred.js +2 -2
- package/lib/cjs/utils/deferred.js.map +1 -1
- package/lib/cjs/utils/log.d.ts +4 -4
- package/lib/cjs/utils/log.js +4 -4
- package/lib/cjs/utils/log.js.map +1 -1
- package/lib/cjs/utils/processingQueue.d.ts +3 -1
- package/lib/cjs/utils/processingQueue.js +18 -6
- package/lib/cjs/utils/processingQueue.js.map +1 -1
- package/lib/cjs/utils/result.d.ts +23 -0
- package/lib/cjs/utils/result.js +19 -0
- package/lib/cjs/utils/result.js.map +1 -0
- package/lib/cjs/utils/tsconfig.tsbuildinfo +1 -1
- package/lib/iife/mapperTab.js +2 -2
- package/lib/iife/mapperTab.js.map +1 -1
- package/package.json +19 -18
- package/lib/cjs/bidiMapper/domains/network/networkRequest.js.map +0 -1
|
@@ -61,7 +61,9 @@ export declare const enum ErrorCode {
|
|
|
61
61
|
NoSuchElement = "no such element",
|
|
62
62
|
NoSuchFrame = "no such frame",
|
|
63
63
|
NoSuchHandle = "no such handle",
|
|
64
|
+
NoSuchIntercept = "no such intercept",
|
|
64
65
|
NoSuchNode = "no such node",
|
|
66
|
+
NoSuchRequest = "no such request",
|
|
65
67
|
NoSuchScript = "no such script",
|
|
66
68
|
SessionNotCreated = "session not created",
|
|
67
69
|
UnableToCaptureScreen = "unable to capture screen",
|
|
@@ -91,9 +93,10 @@ export declare namespace Session {
|
|
|
91
93
|
httpProxy?: string;
|
|
92
94
|
noProxy?: [...string[]];
|
|
93
95
|
sslProxy?: string;
|
|
94
|
-
socksProxy?: string
|
|
96
|
+
socksProxy?: string;
|
|
97
|
+
/**
|
|
95
98
|
* Must be between `0` and `255`, inclusive.
|
|
96
|
-
|
|
99
|
+
*/
|
|
97
100
|
socksVersion?: number;
|
|
98
101
|
};
|
|
99
102
|
} & Extensible;
|
|
@@ -142,9 +145,10 @@ export declare namespace Session {
|
|
|
142
145
|
httpProxy?: string;
|
|
143
146
|
noProxy?: [...string[]];
|
|
144
147
|
sslProxy?: string;
|
|
145
|
-
socksProxy?: string
|
|
148
|
+
socksProxy?: string;
|
|
149
|
+
/**
|
|
146
150
|
* Must be between `0` and `255`, inclusive.
|
|
147
|
-
|
|
151
|
+
*/
|
|
148
152
|
socksVersion?: number;
|
|
149
153
|
};
|
|
150
154
|
setWindowRect: boolean;
|
|
@@ -284,9 +288,10 @@ export declare namespace BrowsingContext {
|
|
|
284
288
|
export declare namespace BrowsingContext {
|
|
285
289
|
type CreateParameters = {
|
|
286
290
|
type: BrowsingContext.CreateType;
|
|
287
|
-
referenceContext?: BrowsingContext.BrowsingContext
|
|
291
|
+
referenceContext?: BrowsingContext.BrowsingContext;
|
|
292
|
+
/**
|
|
288
293
|
* @defaultValue `false`
|
|
289
|
-
|
|
294
|
+
*/
|
|
290
295
|
background?: boolean;
|
|
291
296
|
};
|
|
292
297
|
}
|
|
@@ -352,23 +357,27 @@ export declare namespace BrowsingContext {
|
|
|
352
357
|
}
|
|
353
358
|
export declare namespace BrowsingContext {
|
|
354
359
|
type PrintParameters = {
|
|
355
|
-
context: BrowsingContext.BrowsingContext
|
|
360
|
+
context: BrowsingContext.BrowsingContext;
|
|
361
|
+
/**
|
|
356
362
|
* @defaultValue `false`
|
|
357
|
-
|
|
363
|
+
*/
|
|
358
364
|
background?: boolean;
|
|
359
|
-
margin?: BrowsingContext.PrintMarginParameters
|
|
365
|
+
margin?: BrowsingContext.PrintMarginParameters;
|
|
366
|
+
/**
|
|
360
367
|
* @defaultValue `"portrait"`
|
|
361
|
-
|
|
368
|
+
*/
|
|
362
369
|
orientation?: 'portrait' | 'landscape';
|
|
363
370
|
page?: BrowsingContext.PrintPageParameters;
|
|
364
|
-
pageRanges?: [...(JsUint | string)[]]
|
|
371
|
+
pageRanges?: [...(JsUint | string)[]];
|
|
372
|
+
/**
|
|
365
373
|
* Must be between `0.1` and `2`, inclusive.
|
|
366
374
|
*
|
|
367
375
|
* @defaultValue `1`
|
|
368
|
-
|
|
369
|
-
scale?: number
|
|
376
|
+
*/
|
|
377
|
+
scale?: number;
|
|
378
|
+
/**
|
|
370
379
|
* @defaultValue `true`
|
|
371
|
-
|
|
380
|
+
*/
|
|
372
381
|
shrinkToFit?: boolean;
|
|
373
382
|
};
|
|
374
383
|
}
|
|
@@ -379,21 +388,24 @@ export declare namespace BrowsingContext {
|
|
|
379
388
|
*
|
|
380
389
|
* @defaultValue `1`
|
|
381
390
|
*/
|
|
382
|
-
bottom?: number
|
|
391
|
+
bottom?: number;
|
|
392
|
+
/**
|
|
383
393
|
* Must be greater than or equal to `0`.
|
|
384
394
|
*
|
|
385
395
|
* @defaultValue `1`
|
|
386
|
-
|
|
387
|
-
left?: number
|
|
396
|
+
*/
|
|
397
|
+
left?: number;
|
|
398
|
+
/**
|
|
388
399
|
* Must be greater than or equal to `0`.
|
|
389
400
|
*
|
|
390
401
|
* @defaultValue `1`
|
|
391
|
-
|
|
392
|
-
right?: number
|
|
402
|
+
*/
|
|
403
|
+
right?: number;
|
|
404
|
+
/**
|
|
393
405
|
* Must be greater than or equal to `0`.
|
|
394
406
|
*
|
|
395
407
|
* @defaultValue `1`
|
|
396
|
-
|
|
408
|
+
*/
|
|
397
409
|
top?: number;
|
|
398
410
|
};
|
|
399
411
|
}
|
|
@@ -404,11 +416,12 @@ export declare namespace BrowsingContext {
|
|
|
404
416
|
*
|
|
405
417
|
* @defaultValue `27.94`
|
|
406
418
|
*/
|
|
407
|
-
height?: number
|
|
419
|
+
height?: number;
|
|
420
|
+
/**
|
|
408
421
|
* Must be greater than or equal to `0`.
|
|
409
422
|
*
|
|
410
423
|
* @defaultValue `21.59`
|
|
411
|
-
|
|
424
|
+
*/
|
|
412
425
|
width?: number;
|
|
413
426
|
};
|
|
414
427
|
}
|
|
@@ -528,16 +541,31 @@ export declare namespace BrowsingContext {
|
|
|
528
541
|
message: string;
|
|
529
542
|
};
|
|
530
543
|
}
|
|
531
|
-
export type NetworkCommand =
|
|
532
|
-
export type NetworkResult =
|
|
533
|
-
export type NetworkEvent = Network.BeforeRequestSent | Network.FetchError | Network.
|
|
544
|
+
export type NetworkCommand = Network.AddIntercept | Network.ContinueRequest | Network.ContinueResponse | Network.ContinueWithAuth | Network.FailRequest | Network.ProvideResponse | Network.RemoveIntercept;
|
|
545
|
+
export type NetworkResult = Network.AddInterceptResult;
|
|
546
|
+
export type NetworkEvent = Network.AuthRequired | Network.BeforeRequestSent | Network.FetchError | Network.ResponseCompleted | Network.ResponseStarted;
|
|
547
|
+
export declare namespace Network {
|
|
548
|
+
type AuthChallenge = {
|
|
549
|
+
scheme: string;
|
|
550
|
+
realm: string;
|
|
551
|
+
};
|
|
552
|
+
}
|
|
553
|
+
export declare namespace Network {
|
|
554
|
+
type AuthCredentials = {
|
|
555
|
+
type: 'password';
|
|
556
|
+
username: string;
|
|
557
|
+
password: string;
|
|
558
|
+
};
|
|
559
|
+
}
|
|
534
560
|
export declare namespace Network {
|
|
535
561
|
type BaseParameters = {
|
|
536
562
|
context: BrowsingContext.BrowsingContext | null;
|
|
563
|
+
isBlocked: boolean;
|
|
537
564
|
navigation: BrowsingContext.Navigation | null;
|
|
538
565
|
redirectCount: JsUint;
|
|
539
566
|
request: Network.RequestData;
|
|
540
567
|
timestamp: JsUint;
|
|
568
|
+
intercepts?: [...Network.Intercept[]];
|
|
541
569
|
};
|
|
542
570
|
}
|
|
543
571
|
export declare namespace Network {
|
|
@@ -561,11 +589,17 @@ export declare namespace Network {
|
|
|
561
589
|
value: Network.BytesValue;
|
|
562
590
|
domain: string;
|
|
563
591
|
path: string;
|
|
564
|
-
expires?: JsUint;
|
|
565
592
|
size: JsUint;
|
|
566
593
|
httpOnly: boolean;
|
|
567
594
|
secure: boolean;
|
|
568
595
|
sameSite: 'strict' | 'lax' | 'none';
|
|
596
|
+
expires?: JsUint;
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
export declare namespace Network {
|
|
600
|
+
type CookieHeader = {
|
|
601
|
+
name: string;
|
|
602
|
+
value: Network.BytesValue;
|
|
569
603
|
};
|
|
570
604
|
}
|
|
571
605
|
export declare namespace Network {
|
|
@@ -600,6 +634,9 @@ export declare namespace Network {
|
|
|
600
634
|
request?: Network.Request;
|
|
601
635
|
};
|
|
602
636
|
}
|
|
637
|
+
export declare namespace Network {
|
|
638
|
+
type Intercept = string;
|
|
639
|
+
}
|
|
603
640
|
export declare namespace Network {
|
|
604
641
|
type Request = string;
|
|
605
642
|
}
|
|
@@ -633,6 +670,166 @@ export declare namespace Network {
|
|
|
633
670
|
headersSize: JsUint | null;
|
|
634
671
|
bodySize: JsUint | null;
|
|
635
672
|
content: Network.ResponseContent;
|
|
673
|
+
authChallenge?: Network.AuthChallenge;
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
export declare namespace Network {
|
|
677
|
+
type SetCookieHeader = {
|
|
678
|
+
name: string;
|
|
679
|
+
value: Network.BytesValue;
|
|
680
|
+
domain?: string;
|
|
681
|
+
httpOnly?: boolean;
|
|
682
|
+
expires?: string;
|
|
683
|
+
maxAge?: JsInt;
|
|
684
|
+
path?: string;
|
|
685
|
+
sameSite?: 'strict' | 'lax' | 'none';
|
|
686
|
+
secure?: boolean;
|
|
687
|
+
};
|
|
688
|
+
}
|
|
689
|
+
export declare namespace Network {
|
|
690
|
+
type UrlPattern = Network.UrlPatternPattern | Network.UrlPatternString;
|
|
691
|
+
}
|
|
692
|
+
export declare namespace Network {
|
|
693
|
+
type UrlPatternPattern = {
|
|
694
|
+
type: 'pattern';
|
|
695
|
+
protocol?: string;
|
|
696
|
+
hostname?: string;
|
|
697
|
+
port?: string;
|
|
698
|
+
pathname?: string;
|
|
699
|
+
search?: string;
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
export declare namespace Network {
|
|
703
|
+
type UrlPatternString = {
|
|
704
|
+
type: 'string';
|
|
705
|
+
pattern: string;
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
export declare namespace Network {
|
|
709
|
+
type AddIntercept = {
|
|
710
|
+
method: 'network.addIntercept';
|
|
711
|
+
params: Network.AddInterceptParameters;
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
export declare namespace Network {
|
|
715
|
+
type AddInterceptParameters = {
|
|
716
|
+
phases: [...Network.InterceptPhase[]];
|
|
717
|
+
urlPatterns?: [...Network.UrlPattern[]];
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
export declare namespace Network {
|
|
721
|
+
const enum InterceptPhase {
|
|
722
|
+
BeforeRequestSent = "beforeRequestSent",
|
|
723
|
+
ResponseStarted = "responseStarted",
|
|
724
|
+
AuthRequired = "authRequired"
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
export declare namespace Network {
|
|
728
|
+
type AddInterceptResult = {
|
|
729
|
+
intercept: Network.Intercept;
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
export declare namespace Network {
|
|
733
|
+
type ContinueRequest = {
|
|
734
|
+
method: 'network.continueRequest';
|
|
735
|
+
params: Network.ContinueRequestParameters;
|
|
736
|
+
};
|
|
737
|
+
}
|
|
738
|
+
export declare namespace Network {
|
|
739
|
+
type ContinueRequestParameters = {
|
|
740
|
+
request: Network.Request;
|
|
741
|
+
body?: Network.BytesValue;
|
|
742
|
+
cookies?: [...Network.CookieHeader[]];
|
|
743
|
+
headers?: [...Network.Header[]];
|
|
744
|
+
method?: string;
|
|
745
|
+
url?: string;
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
export declare namespace Network {
|
|
749
|
+
type ContinueResponse = {
|
|
750
|
+
method: 'network.continueResponse';
|
|
751
|
+
params: Network.ContinueResponseParameters;
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
export declare namespace Network {
|
|
755
|
+
type ContinueResponseParameters = {
|
|
756
|
+
request: Network.Request;
|
|
757
|
+
cookies?: [...Network.SetCookieHeader[]];
|
|
758
|
+
credentials?: Network.AuthCredentials;
|
|
759
|
+
headers?: [...Network.Header[]];
|
|
760
|
+
reasonPhrase?: string;
|
|
761
|
+
statusCode?: JsUint;
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
export declare namespace Network {
|
|
765
|
+
type ContinueWithAuth = {
|
|
766
|
+
method: 'network.continueWithAuth';
|
|
767
|
+
params: Network.ContinueWithAuthParameters;
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
export declare namespace Network {
|
|
771
|
+
type ContinueWithAuthParameters = {
|
|
772
|
+
request: Network.Request;
|
|
773
|
+
} & (Network.ContinueWithAuthCredentials | Network.ContinueWithAuthNoCredentials);
|
|
774
|
+
}
|
|
775
|
+
export declare namespace Network {
|
|
776
|
+
type ContinueWithAuthCredentials = {
|
|
777
|
+
action: 'provideCredentials';
|
|
778
|
+
credentials: Network.AuthCredentials;
|
|
779
|
+
};
|
|
780
|
+
}
|
|
781
|
+
export declare namespace Network {
|
|
782
|
+
type ContinueWithAuthNoCredentials = {
|
|
783
|
+
action: 'default' | 'cancel';
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
export declare namespace Network {
|
|
787
|
+
type FailRequest = {
|
|
788
|
+
method: 'network.failRequest';
|
|
789
|
+
params: Network.FailRequestParameters;
|
|
790
|
+
};
|
|
791
|
+
}
|
|
792
|
+
export declare namespace Network {
|
|
793
|
+
type FailRequestParameters = {
|
|
794
|
+
request: Network.Request;
|
|
795
|
+
};
|
|
796
|
+
}
|
|
797
|
+
export declare namespace Network {
|
|
798
|
+
type ProvideResponse = {
|
|
799
|
+
method: 'network.provideResponse';
|
|
800
|
+
params: Network.ProvideResponseParameters;
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
export declare namespace Network {
|
|
804
|
+
type ProvideResponseParameters = {
|
|
805
|
+
request: Network.Request;
|
|
806
|
+
body?: Network.BytesValue;
|
|
807
|
+
cookies?: [...Network.SetCookieHeader[]];
|
|
808
|
+
headers?: [...Network.Header[]];
|
|
809
|
+
reasonPhrase?: string;
|
|
810
|
+
statusCode?: JsUint;
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
export declare namespace Network {
|
|
814
|
+
type RemoveIntercept = {
|
|
815
|
+
method: 'network.removeIntercept';
|
|
816
|
+
params: Network.RemoveInterceptParameters;
|
|
817
|
+
};
|
|
818
|
+
}
|
|
819
|
+
export declare namespace Network {
|
|
820
|
+
type RemoveInterceptParameters = {
|
|
821
|
+
intercept: Network.Intercept;
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
export declare namespace Network {
|
|
825
|
+
type AuthRequired = {
|
|
826
|
+
method: 'network.authRequired';
|
|
827
|
+
params: Network.AuthRequiredParameters;
|
|
828
|
+
};
|
|
829
|
+
}
|
|
830
|
+
export declare namespace Network {
|
|
831
|
+
type AuthRequiredParameters = Network.BaseParameters & {
|
|
832
|
+
response: Network.ResponseData;
|
|
636
833
|
};
|
|
637
834
|
}
|
|
638
835
|
export declare namespace Network {
|
|
@@ -1094,12 +1291,14 @@ export declare namespace Script {
|
|
|
1094
1291
|
/**
|
|
1095
1292
|
* @defaultValue `0`
|
|
1096
1293
|
*/
|
|
1097
|
-
maxDomDepth?: JsUint | null
|
|
1294
|
+
maxDomDepth?: JsUint | null;
|
|
1295
|
+
/**
|
|
1098
1296
|
* @defaultValue `null`
|
|
1099
|
-
|
|
1100
|
-
maxObjectDepth?: JsUint | null
|
|
1297
|
+
*/
|
|
1298
|
+
maxObjectDepth?: JsUint | null;
|
|
1299
|
+
/**
|
|
1101
1300
|
* @defaultValue `"none"`
|
|
1102
|
-
|
|
1301
|
+
*/
|
|
1103
1302
|
includeShadowTree?: 'none' | 'open' | 'all';
|
|
1104
1303
|
};
|
|
1105
1304
|
}
|
|
@@ -1184,6 +1383,10 @@ export declare namespace Script {
|
|
|
1184
1383
|
resultOwnership?: Script.ResultOwnership;
|
|
1185
1384
|
serializationOptions?: Script.SerializationOptions;
|
|
1186
1385
|
this?: Script.LocalValue;
|
|
1386
|
+
/**
|
|
1387
|
+
* @defaultValue `false`
|
|
1388
|
+
*/
|
|
1389
|
+
userActivation?: boolean;
|
|
1187
1390
|
};
|
|
1188
1391
|
}
|
|
1189
1392
|
export declare namespace Script {
|
|
@@ -1199,6 +1402,10 @@ export declare namespace Script {
|
|
|
1199
1402
|
awaitPromise: boolean;
|
|
1200
1403
|
resultOwnership?: Script.ResultOwnership;
|
|
1201
1404
|
serializationOptions?: Script.SerializationOptions;
|
|
1405
|
+
/**
|
|
1406
|
+
* @defaultValue `false`
|
|
1407
|
+
*/
|
|
1408
|
+
userActivation?: boolean;
|
|
1202
1409
|
};
|
|
1203
1410
|
}
|
|
1204
1411
|
export declare namespace Script {
|
|
@@ -1427,9 +1634,10 @@ export declare namespace Input {
|
|
|
1427
1634
|
y: JsInt;
|
|
1428
1635
|
deltaX: JsInt;
|
|
1429
1636
|
deltaY: JsInt;
|
|
1430
|
-
duration?: JsUint
|
|
1637
|
+
duration?: JsUint;
|
|
1638
|
+
/**
|
|
1431
1639
|
* @defaultValue `"viewport"`
|
|
1432
|
-
|
|
1640
|
+
*/
|
|
1433
1641
|
origin?: Input.Origin;
|
|
1434
1642
|
};
|
|
1435
1643
|
}
|
|
@@ -1438,20 +1646,24 @@ export declare namespace Input {
|
|
|
1438
1646
|
/**
|
|
1439
1647
|
* @defaultValue `1`
|
|
1440
1648
|
*/
|
|
1441
|
-
width?: JsUint
|
|
1649
|
+
width?: JsUint;
|
|
1650
|
+
/**
|
|
1442
1651
|
* @defaultValue `1`
|
|
1443
|
-
|
|
1444
|
-
height?: JsUint
|
|
1652
|
+
*/
|
|
1653
|
+
height?: JsUint;
|
|
1654
|
+
/**
|
|
1445
1655
|
* @defaultValue `0`
|
|
1446
|
-
|
|
1447
|
-
pressure?: number
|
|
1656
|
+
*/
|
|
1657
|
+
pressure?: number;
|
|
1658
|
+
/**
|
|
1448
1659
|
* @defaultValue `0`
|
|
1449
|
-
|
|
1450
|
-
tangentialPressure?: number
|
|
1660
|
+
*/
|
|
1661
|
+
tangentialPressure?: number;
|
|
1662
|
+
/**
|
|
1451
1663
|
* Must be between `0` and `359`, inclusive.
|
|
1452
1664
|
*
|
|
1453
1665
|
* @defaultValue `0`
|
|
1454
|
-
|
|
1666
|
+
*/
|
|
1455
1667
|
twist?: number;
|
|
1456
1668
|
} & (Input.TiltProperties | Input.AngleProperties);
|
|
1457
1669
|
}
|
|
@@ -1460,9 +1672,10 @@ export declare namespace Input {
|
|
|
1460
1672
|
/**
|
|
1461
1673
|
* @defaultValue `0`
|
|
1462
1674
|
*/
|
|
1463
|
-
altitudeAngle?: number
|
|
1675
|
+
altitudeAngle?: number;
|
|
1676
|
+
/**
|
|
1464
1677
|
* @defaultValue `0`
|
|
1465
|
-
|
|
1678
|
+
*/
|
|
1466
1679
|
azimuthAngle?: number;
|
|
1467
1680
|
};
|
|
1468
1681
|
}
|
|
@@ -1473,11 +1686,12 @@ export declare namespace Input {
|
|
|
1473
1686
|
*
|
|
1474
1687
|
* @defaultValue `0`
|
|
1475
1688
|
*/
|
|
1476
|
-
tiltX?: number
|
|
1689
|
+
tiltX?: number;
|
|
1690
|
+
/**
|
|
1477
1691
|
* Must be between `-90` and `90`, inclusive.
|
|
1478
1692
|
*
|
|
1479
1693
|
* @defaultValue `0`
|
|
1480
|
-
|
|
1694
|
+
*/
|
|
1481
1695
|
tiltY?: number;
|
|
1482
1696
|
};
|
|
1483
1697
|
}
|
|
@@ -18,9 +18,152 @@
|
|
|
18
18
|
* @fileoverview Provides parsing and validator for WebDriver BiDi protocol.
|
|
19
19
|
* Parser types should match the `../protocol` types.
|
|
20
20
|
*/
|
|
21
|
-
import { z
|
|
21
|
+
import { z, type ZodType } from 'zod';
|
|
22
22
|
import type * as Protocol from '../protocol/protocol.js';
|
|
23
|
-
export declare function parseObject<T extends ZodType>(obj: unknown, schema: T):
|
|
23
|
+
export declare function parseObject<T extends ZodType>(obj: unknown, schema: T): z.infer<T>;
|
|
24
|
+
/** @see https://w3c.github.io/webdriver-bidi/#module-network */
|
|
25
|
+
export declare namespace Network {
|
|
26
|
+
function parseAddInterceptParameters(params: unknown): {
|
|
27
|
+
phases: ("beforeRequestSent" | "responseStarted" | "authRequired")[];
|
|
28
|
+
urlPatterns?: ({
|
|
29
|
+
type: "pattern";
|
|
30
|
+
protocol?: string | undefined;
|
|
31
|
+
hostname?: string | undefined;
|
|
32
|
+
port?: string | undefined;
|
|
33
|
+
pathname?: string | undefined;
|
|
34
|
+
search?: string | undefined;
|
|
35
|
+
} | {
|
|
36
|
+
type: "string";
|
|
37
|
+
pattern: string;
|
|
38
|
+
})[] | undefined;
|
|
39
|
+
};
|
|
40
|
+
function parseContinueRequestParameters(params: unknown): {
|
|
41
|
+
request: string;
|
|
42
|
+
body?: {
|
|
43
|
+
type: "string";
|
|
44
|
+
value: string;
|
|
45
|
+
} | {
|
|
46
|
+
type: "base64";
|
|
47
|
+
value: string;
|
|
48
|
+
} | undefined;
|
|
49
|
+
cookies?: {
|
|
50
|
+
value: {
|
|
51
|
+
type: "string";
|
|
52
|
+
value: string;
|
|
53
|
+
} | {
|
|
54
|
+
type: "base64";
|
|
55
|
+
value: string;
|
|
56
|
+
};
|
|
57
|
+
name: string;
|
|
58
|
+
}[] | undefined;
|
|
59
|
+
headers?: {
|
|
60
|
+
value: {
|
|
61
|
+
type: "string";
|
|
62
|
+
value: string;
|
|
63
|
+
} | {
|
|
64
|
+
type: "base64";
|
|
65
|
+
value: string;
|
|
66
|
+
};
|
|
67
|
+
name: string;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
method?: string | undefined;
|
|
70
|
+
url?: string | undefined;
|
|
71
|
+
};
|
|
72
|
+
function parseContinueResponseParameters(params: unknown): {
|
|
73
|
+
request: string;
|
|
74
|
+
cookies?: {
|
|
75
|
+
value: {
|
|
76
|
+
type: "string";
|
|
77
|
+
value: string;
|
|
78
|
+
} | {
|
|
79
|
+
type: "base64";
|
|
80
|
+
value: string;
|
|
81
|
+
};
|
|
82
|
+
name: string;
|
|
83
|
+
domain?: string | undefined;
|
|
84
|
+
httpOnly?: boolean | undefined;
|
|
85
|
+
expires?: string | undefined;
|
|
86
|
+
maxAge?: number | undefined;
|
|
87
|
+
path?: string | undefined;
|
|
88
|
+
sameSite?: "strict" | "none" | "lax" | undefined;
|
|
89
|
+
secure?: boolean | undefined;
|
|
90
|
+
}[] | undefined;
|
|
91
|
+
credentials?: {
|
|
92
|
+
type: "password";
|
|
93
|
+
password: string;
|
|
94
|
+
username: string;
|
|
95
|
+
} | undefined;
|
|
96
|
+
headers?: {
|
|
97
|
+
value: {
|
|
98
|
+
type: "string";
|
|
99
|
+
value: string;
|
|
100
|
+
} | {
|
|
101
|
+
type: "base64";
|
|
102
|
+
value: string;
|
|
103
|
+
};
|
|
104
|
+
name: string;
|
|
105
|
+
}[] | undefined;
|
|
106
|
+
reasonPhrase?: string | undefined;
|
|
107
|
+
statusCode?: number | undefined;
|
|
108
|
+
};
|
|
109
|
+
function parseContinueWithAuthParameters(params: unknown): {
|
|
110
|
+
request: string;
|
|
111
|
+
} & ({
|
|
112
|
+
credentials: {
|
|
113
|
+
type: "password";
|
|
114
|
+
password: string;
|
|
115
|
+
username: string;
|
|
116
|
+
};
|
|
117
|
+
action: "provideCredentials";
|
|
118
|
+
} | {
|
|
119
|
+
action: "default" | "cancel";
|
|
120
|
+
});
|
|
121
|
+
function parseFailRequestParameters(params: unknown): {
|
|
122
|
+
request: string;
|
|
123
|
+
};
|
|
124
|
+
function parseProvideResponseParameters(params: unknown): {
|
|
125
|
+
request: string;
|
|
126
|
+
body?: {
|
|
127
|
+
type: "string";
|
|
128
|
+
value: string;
|
|
129
|
+
} | {
|
|
130
|
+
type: "base64";
|
|
131
|
+
value: string;
|
|
132
|
+
} | undefined;
|
|
133
|
+
cookies?: {
|
|
134
|
+
value: {
|
|
135
|
+
type: "string";
|
|
136
|
+
value: string;
|
|
137
|
+
} | {
|
|
138
|
+
type: "base64";
|
|
139
|
+
value: string;
|
|
140
|
+
};
|
|
141
|
+
name: string;
|
|
142
|
+
domain?: string | undefined;
|
|
143
|
+
httpOnly?: boolean | undefined;
|
|
144
|
+
expires?: string | undefined;
|
|
145
|
+
maxAge?: number | undefined;
|
|
146
|
+
path?: string | undefined;
|
|
147
|
+
sameSite?: "strict" | "none" | "lax" | undefined;
|
|
148
|
+
secure?: boolean | undefined;
|
|
149
|
+
}[] | undefined;
|
|
150
|
+
headers?: {
|
|
151
|
+
value: {
|
|
152
|
+
type: "string";
|
|
153
|
+
value: string;
|
|
154
|
+
} | {
|
|
155
|
+
type: "base64";
|
|
156
|
+
value: string;
|
|
157
|
+
};
|
|
158
|
+
name: string;
|
|
159
|
+
}[] | undefined;
|
|
160
|
+
reasonPhrase?: string | undefined;
|
|
161
|
+
statusCode?: number | undefined;
|
|
162
|
+
};
|
|
163
|
+
function parseRemoveInterceptParameters(params: unknown): {
|
|
164
|
+
intercept: string;
|
|
165
|
+
};
|
|
166
|
+
}
|
|
24
167
|
/** @see https://w3c.github.io/webdriver-bidi/#module-script */
|
|
25
168
|
export declare namespace Script {
|
|
26
169
|
function parseGetRealmsParams(params: unknown): Protocol.Script.GetRealmsParameters;
|
|
@@ -39,7 +39,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
39
39
|
return result;
|
|
40
40
|
};
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
exports.Cdp = exports.Input = exports.Session = exports.BrowsingContext = exports.Script = exports.parseObject = void 0;
|
|
42
|
+
exports.Cdp = exports.Input = exports.Session = exports.BrowsingContext = exports.Script = exports.Network = exports.parseObject = void 0;
|
|
43
43
|
/**
|
|
44
44
|
* @fileoverview Provides parsing and validator for WebDriver BiDi protocol.
|
|
45
45
|
* Parser types should match the `../protocol` types.
|
|
@@ -59,6 +59,38 @@ function parseObject(obj, schema) {
|
|
|
59
59
|
throw new protocol_js_1.InvalidArgumentException(errorMessage);
|
|
60
60
|
}
|
|
61
61
|
exports.parseObject = parseObject;
|
|
62
|
+
/** @see https://w3c.github.io/webdriver-bidi/#module-network */
|
|
63
|
+
var Network;
|
|
64
|
+
(function (Network) {
|
|
65
|
+
function parseAddInterceptParameters(params) {
|
|
66
|
+
return parseObject(params, WebDriverBidi.Network.AddInterceptParametersSchema);
|
|
67
|
+
}
|
|
68
|
+
Network.parseAddInterceptParameters = parseAddInterceptParameters;
|
|
69
|
+
function parseContinueRequestParameters(params) {
|
|
70
|
+
return parseObject(params, WebDriverBidi.Network.ContinueRequestParametersSchema);
|
|
71
|
+
}
|
|
72
|
+
Network.parseContinueRequestParameters = parseContinueRequestParameters;
|
|
73
|
+
function parseContinueResponseParameters(params) {
|
|
74
|
+
return parseObject(params, WebDriverBidi.Network.ContinueResponseParametersSchema);
|
|
75
|
+
}
|
|
76
|
+
Network.parseContinueResponseParameters = parseContinueResponseParameters;
|
|
77
|
+
function parseContinueWithAuthParameters(params) {
|
|
78
|
+
return parseObject(params, WebDriverBidi.Network.ContinueWithAuthParametersSchema);
|
|
79
|
+
}
|
|
80
|
+
Network.parseContinueWithAuthParameters = parseContinueWithAuthParameters;
|
|
81
|
+
function parseFailRequestParameters(params) {
|
|
82
|
+
return parseObject(params, WebDriverBidi.Network.FailRequestParametersSchema);
|
|
83
|
+
}
|
|
84
|
+
Network.parseFailRequestParameters = parseFailRequestParameters;
|
|
85
|
+
function parseProvideResponseParameters(params) {
|
|
86
|
+
return parseObject(params, WebDriverBidi.Network.ProvideResponseParametersSchema);
|
|
87
|
+
}
|
|
88
|
+
Network.parseProvideResponseParameters = parseProvideResponseParameters;
|
|
89
|
+
function parseRemoveInterceptParameters(params) {
|
|
90
|
+
return parseObject(params, WebDriverBidi.Network.RemoveInterceptParametersSchema);
|
|
91
|
+
}
|
|
92
|
+
Network.parseRemoveInterceptParameters = parseRemoveInterceptParameters;
|
|
93
|
+
})(Network || (exports.Network = Network = {}));
|
|
62
94
|
/** @see https://w3c.github.io/webdriver-bidi/#module-script */
|
|
63
95
|
var Script;
|
|
64
96
|
(function (Script) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol-parser.js","sourceRoot":"","sources":["../../../src/protocol-parser/protocol-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"protocol-parser.js","sourceRoot":"","sources":["../../../src/protocol-parser/protocol-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH;;;GAGG;AACH,6BAAoC;AAGpC,yDAAiE;AAEjE,mEAAqD;AAErD,SAAgB,WAAW,CACzB,GAAY,EACZ,MAAS;IAET,MAAM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