update protocol
This commit is contained in:
parent
184a5fd3b9
commit
73a328f8b9
|
|
@ -334,7 +334,7 @@ scheme.PlaywrightNewRequestParams = tObject({
|
||||||
username: tString,
|
username: tString,
|
||||||
password: tString,
|
password: tString,
|
||||||
origin: tOptional(tString),
|
origin: tOptional(tString),
|
||||||
send: tOptional(tEnum(['immediately', 'unauthorized'])),
|
send: tOptional(tEnum(['always', 'unauthorized'])),
|
||||||
})),
|
})),
|
||||||
proxy: tOptional(tObject({
|
proxy: tOptional(tObject({
|
||||||
server: tString,
|
server: tString,
|
||||||
|
|
@ -548,7 +548,7 @@ scheme.BrowserTypeLaunchPersistentContextParams = tObject({
|
||||||
username: tString,
|
username: tString,
|
||||||
password: tString,
|
password: tString,
|
||||||
origin: tOptional(tString),
|
origin: tOptional(tString),
|
||||||
send: tOptional(tEnum(['immediately', 'unauthorized'])),
|
send: tOptional(tEnum(['always', 'unauthorized'])),
|
||||||
})),
|
})),
|
||||||
deviceScaleFactor: tOptional(tNumber),
|
deviceScaleFactor: tOptional(tNumber),
|
||||||
isMobile: tOptional(tBoolean),
|
isMobile: tOptional(tBoolean),
|
||||||
|
|
@ -627,7 +627,7 @@ scheme.BrowserNewContextParams = tObject({
|
||||||
username: tString,
|
username: tString,
|
||||||
password: tString,
|
password: tString,
|
||||||
origin: tOptional(tString),
|
origin: tOptional(tString),
|
||||||
send: tOptional(tEnum(['immediately', 'unauthorized'])),
|
send: tOptional(tEnum(['always', 'unauthorized'])),
|
||||||
})),
|
})),
|
||||||
deviceScaleFactor: tOptional(tNumber),
|
deviceScaleFactor: tOptional(tNumber),
|
||||||
isMobile: tOptional(tBoolean),
|
isMobile: tOptional(tBoolean),
|
||||||
|
|
@ -689,7 +689,7 @@ scheme.BrowserNewContextForReuseParams = tObject({
|
||||||
username: tString,
|
username: tString,
|
||||||
password: tString,
|
password: tString,
|
||||||
origin: tOptional(tString),
|
origin: tOptional(tString),
|
||||||
send: tOptional(tEnum(['immediately', 'unauthorized'])),
|
send: tOptional(tEnum(['always', 'unauthorized'])),
|
||||||
})),
|
})),
|
||||||
deviceScaleFactor: tOptional(tNumber),
|
deviceScaleFactor: tOptional(tNumber),
|
||||||
isMobile: tOptional(tBoolean),
|
isMobile: tOptional(tBoolean),
|
||||||
|
|
@ -2478,7 +2478,7 @@ scheme.AndroidDeviceLaunchBrowserParams = tObject({
|
||||||
username: tString,
|
username: tString,
|
||||||
password: tString,
|
password: tString,
|
||||||
origin: tOptional(tString),
|
origin: tOptional(tString),
|
||||||
send: tOptional(tEnum(['immediately', 'unauthorized'])),
|
send: tOptional(tEnum(['always', 'unauthorized'])),
|
||||||
})),
|
})),
|
||||||
deviceScaleFactor: tOptional(tNumber),
|
deviceScaleFactor: tOptional(tNumber),
|
||||||
isMobile: tOptional(tBoolean),
|
isMobile: tOptional(tBoolean),
|
||||||
|
|
|
||||||
|
|
@ -578,7 +578,7 @@ export type PlaywrightNewRequestParams = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
proxy?: {
|
proxy?: {
|
||||||
server: string,
|
server: string,
|
||||||
|
|
@ -602,7 +602,7 @@ export type PlaywrightNewRequestOptions = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
proxy?: {
|
proxy?: {
|
||||||
server: string,
|
server: string,
|
||||||
|
|
@ -959,7 +959,7 @@ export type BrowserTypeLaunchPersistentContextParams = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
deviceScaleFactor?: number,
|
deviceScaleFactor?: number,
|
||||||
isMobile?: boolean,
|
isMobile?: boolean,
|
||||||
|
|
@ -1032,7 +1032,7 @@ export type BrowserTypeLaunchPersistentContextOptions = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
deviceScaleFactor?: number,
|
deviceScaleFactor?: number,
|
||||||
isMobile?: boolean,
|
isMobile?: boolean,
|
||||||
|
|
@ -1140,7 +1140,7 @@ export type BrowserNewContextParams = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
deviceScaleFactor?: number,
|
deviceScaleFactor?: number,
|
||||||
isMobile?: boolean,
|
isMobile?: boolean,
|
||||||
|
|
@ -1199,7 +1199,7 @@ export type BrowserNewContextOptions = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
deviceScaleFactor?: number,
|
deviceScaleFactor?: number,
|
||||||
isMobile?: boolean,
|
isMobile?: boolean,
|
||||||
|
|
@ -1261,7 +1261,7 @@ export type BrowserNewContextForReuseParams = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
deviceScaleFactor?: number,
|
deviceScaleFactor?: number,
|
||||||
isMobile?: boolean,
|
isMobile?: boolean,
|
||||||
|
|
@ -1320,7 +1320,7 @@ export type BrowserNewContextForReuseOptions = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
deviceScaleFactor?: number,
|
deviceScaleFactor?: number,
|
||||||
isMobile?: boolean,
|
isMobile?: boolean,
|
||||||
|
|
@ -4479,7 +4479,7 @@ export type AndroidDeviceLaunchBrowserParams = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
deviceScaleFactor?: number,
|
deviceScaleFactor?: number,
|
||||||
isMobile?: boolean,
|
isMobile?: boolean,
|
||||||
|
|
@ -4536,7 +4536,7 @@ export type AndroidDeviceLaunchBrowserOptions = {
|
||||||
username: string,
|
username: string,
|
||||||
password: string,
|
password: string,
|
||||||
origin?: string,
|
origin?: string,
|
||||||
send?: 'immediately' | 'unauthorized',
|
send?: 'always' | 'unauthorized',
|
||||||
},
|
},
|
||||||
deviceScaleFactor?: number,
|
deviceScaleFactor?: number,
|
||||||
isMobile?: boolean,
|
isMobile?: boolean,
|
||||||
|
|
|
||||||
|
|
@ -459,7 +459,7 @@ ContextOptions:
|
||||||
send:
|
send:
|
||||||
type: enum?
|
type: enum?
|
||||||
literals:
|
literals:
|
||||||
- immediately
|
- always
|
||||||
- unauthorized
|
- unauthorized
|
||||||
deviceScaleFactor: number?
|
deviceScaleFactor: number?
|
||||||
isMobile: boolean?
|
isMobile: boolean?
|
||||||
|
|
@ -681,7 +681,7 @@ Playwright:
|
||||||
send:
|
send:
|
||||||
type: enum?
|
type: enum?
|
||||||
literals:
|
literals:
|
||||||
- immediately
|
- always
|
||||||
- unauthorized
|
- unauthorized
|
||||||
proxy:
|
proxy:
|
||||||
type: object?
|
type: object?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue