You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/api.md
+9-5
Original file line number
Diff line number
Diff line change
@@ -1011,7 +1011,7 @@ Browser-specific Coverage implementation, only available for Chromium atm. See [
1011
1011
-`'load'` - consider navigation to be finished when the `load` event is fired.
1012
1012
-`'domcontentloaded'` - consider navigation to be finished when the `DOMContentLoaded` event is fired.
1013
1013
-`'networkidle0'` - consider navigation to be finished when there are no more than 0 network connections for at least `500` ms.
1014
-
-`'networkidle2'` - consider navigation to be finished when there are no more than 2 network connections for at least `500` ms.
1014
+
-`'networkidle2'` - consider navigation to be finished when there are no more than 2 network connections for at least `500` ms.
1015
1015
-`'nowait'` - do not wait.
1016
1016
-`timeout` <[number]> Maximum time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by using the [browserContext.setDefaultTimeout(timeout)](#browsercontextsetdefaulttimeouttimeout) or [page.setDefaultTimeout(timeout)](#pagesetdefaulttimeouttimeout) methods.
1017
1017
- returns: <[Promise]> Promise which resolves when the element matching `selector` is successfully double clicked. The Promise will be rejected if there is no element matching `selector`.
-`path` <[string]> Optional file path to respond with. The content type will be inferred from file extension. If `path` is a relative path, then it is resolved relative to [current working directory](https://nodejs.org/api/process.html#process_process_cwd).
3382
3383
- returns: <[Promise]>
3383
3384
3384
3385
Fulfills request with given response. To use this, request interception should
Copy file name to clipboardexpand all lines: src/network.ts
+17-2
Original file line number
Diff line number
Diff line change
@@ -202,10 +202,18 @@ export class Request {
202
202
awaitthis._delegate.abort(errorCode);
203
203
}
204
204
205
-
asyncfulfill(response: {status: number;headers: Headers;contentType: string;body: (string|platform.BufferType);}){// Mocking responses for dataURL requests is not currently supported.
0 commit comments