update protocol

This commit is contained in:
Yury Semikhatsky 2024-05-30 09:19:49 -07:00
parent 184a5fd3b9
commit 73a328f8b9
3 changed files with 17 additions and 17 deletions

View file

@ -334,7 +334,7 @@ scheme.PlaywrightNewRequestParams = tObject({
username: tString,
password: tString,
origin: tOptional(tString),
send: tOptional(tEnum(['immediately', 'unauthorized'])),
send: tOptional(tEnum(['always', 'unauthorized'])),
})),
proxy: tOptional(tObject({
server: tString,
@ -548,7 +548,7 @@ scheme.BrowserTypeLaunchPersistentContextParams = tObject({
username: tString,
password: tString,
origin: tOptional(tString),
send: tOptional(tEnum(['immediately', 'unauthorized'])),
send: tOptional(tEnum(['always', 'unauthorized'])),
})),
deviceScaleFactor: tOptional(tNumber),
isMobile: tOptional(tBoolean),
@ -627,7 +627,7 @@ scheme.BrowserNewContextParams = tObject({
username: tString,
password: tString,
origin: tOptional(tString),
send: tOptional(tEnum(['immediately', 'unauthorized'])),
send: tOptional(tEnum(['always', 'unauthorized'])),
})),
deviceScaleFactor: tOptional(tNumber),
isMobile: tOptional(tBoolean),
@ -689,7 +689,7 @@ scheme.BrowserNewContextForReuseParams = tObject({
username: tString,
password: tString,
origin: tOptional(tString),
send: tOptional(tEnum(['immediately', 'unauthorized'])),
send: tOptional(tEnum(['always', 'unauthorized'])),
})),
deviceScaleFactor: tOptional(tNumber),
isMobile: tOptional(tBoolean),
@ -2478,7 +2478,7 @@ scheme.AndroidDeviceLaunchBrowserParams = tObject({
username: tString,
password: tString,
origin: tOptional(tString),
send: tOptional(tEnum(['immediately', 'unauthorized'])),
send: tOptional(tEnum(['always', 'unauthorized'])),
})),
deviceScaleFactor: tOptional(tNumber),
isMobile: tOptional(tBoolean),

View file

@ -578,7 +578,7 @@ export type PlaywrightNewRequestParams = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
proxy?: {
server: string,
@ -602,7 +602,7 @@ export type PlaywrightNewRequestOptions = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
proxy?: {
server: string,
@ -959,7 +959,7 @@ export type BrowserTypeLaunchPersistentContextParams = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
deviceScaleFactor?: number,
isMobile?: boolean,
@ -1032,7 +1032,7 @@ export type BrowserTypeLaunchPersistentContextOptions = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
deviceScaleFactor?: number,
isMobile?: boolean,
@ -1140,7 +1140,7 @@ export type BrowserNewContextParams = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
deviceScaleFactor?: number,
isMobile?: boolean,
@ -1199,7 +1199,7 @@ export type BrowserNewContextOptions = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
deviceScaleFactor?: number,
isMobile?: boolean,
@ -1261,7 +1261,7 @@ export type BrowserNewContextForReuseParams = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
deviceScaleFactor?: number,
isMobile?: boolean,
@ -1320,7 +1320,7 @@ export type BrowserNewContextForReuseOptions = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
deviceScaleFactor?: number,
isMobile?: boolean,
@ -4479,7 +4479,7 @@ export type AndroidDeviceLaunchBrowserParams = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
deviceScaleFactor?: number,
isMobile?: boolean,
@ -4536,7 +4536,7 @@ export type AndroidDeviceLaunchBrowserOptions = {
username: string,
password: string,
origin?: string,
send?: 'immediately' | 'unauthorized',
send?: 'always' | 'unauthorized',
},
deviceScaleFactor?: number,
isMobile?: boolean,

View file

@ -459,7 +459,7 @@ ContextOptions:
send:
type: enum?
literals:
- immediately
- always
- unauthorized
deviceScaleFactor: number?
isMobile: boolean?
@ -681,7 +681,7 @@ Playwright:
send:
type: enum?
literals:
- immediately
- always
- unauthorized
proxy:
type: object?