File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -459,6 +459,7 @@ export namespace Browser {
459
459
z . object ( {
460
460
acceptInsecureCerts : z . boolean ( ) . optional ( ) ,
461
461
proxy : Session . ProxyConfigurationSchema . optional ( ) ,
462
+ unhandledPromptBehavior : Session . UserPromptHandlerSchema . optional ( ) ,
462
463
} ) ,
463
464
) ;
464
465
}
Original file line number Diff line number Diff line change @@ -52,10 +52,11 @@ export namespace Browser {
52
52
export function parseCreateUserContextParameters (
53
53
params : unknown ,
54
54
) : Protocol . Browser . CreateUserContextParameters {
55
+ // Work around of `cddlconv` https://github.com/google/cddlconv/issues/19.
55
56
return parseObject (
56
57
params ,
57
58
WebDriverBidi . Browser . CreateUserContextParametersSchema ,
58
- ) ;
59
+ ) as Protocol . Browser . CreateUserContextParameters ;
59
60
}
60
61
export function parseRemoveUserContextParameters (
61
62
params : unknown ,
Original file line number Diff line number Diff line change @@ -344,6 +344,7 @@ export namespace Browser {
344
344
export type CreateUserContextParameters = {
345
345
acceptInsecureCerts ?: boolean ;
346
346
proxy ?: Session . ProxyConfiguration ;
347
+ unhandledPromptBehavior ?: Session . UserPromptHandler ;
347
348
} ;
348
349
}
349
350
export namespace Browser {
You can’t perform that action at this time.
0 commit comments