fix timeout
This commit is contained in:
parent
f944f5445f
commit
ffc0ea9cb5
|
|
@ -64,6 +64,7 @@ export class APIRequest implements api.APIRequest {
|
||||||
async newContext(options: NewContextOptions = {}): Promise<APIRequestContext> {
|
async newContext(options: NewContextOptions = {}): Promise<APIRequestContext> {
|
||||||
options = {
|
options = {
|
||||||
...this._playwright._defaultContextOptions,
|
...this._playwright._defaultContextOptions,
|
||||||
|
timeout: this._playwright._defaultContextTimeout,
|
||||||
...options,
|
...options,
|
||||||
};
|
};
|
||||||
const storageState = typeof options.storageState === 'string' ?
|
const storageState = typeof options.storageState === 'string' ?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue