Skip to content

Commit a5abd36

Browse files
authored
docs: fix the list newlines in Request (#13292)
1 parent aae6b33 commit a5abd36

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

docs/api/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ Represents an HTTP request sent by a page.
295295

296296
Whenever the page sends a request, such as for a network resource, the following events are emitted by Puppeteer's `page`:
297297

298-
- `request`: emitted when the request is issued by the page. - `requestfinished` - emitted when the response body is downloaded and the request is complete.
298+
- `request`: emitted when the request is issued by the page.
299+
300+
- `requestfinished` - emitted when the response body is downloaded and the request is complete.
299301

300302
If request fails at some point, then instead of `requestfinished` event the `requestfailed` event is emitted.
301303

docs/api/puppeteer.httprequest.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export declare abstract class HTTPRequest
1616

1717
Whenever the page sends a request, such as for a network resource, the following events are emitted by Puppeteer's `page`:
1818

19-
- `request`: emitted when the request is issued by the page. - `requestfinished` - emitted when the response body is downloaded and the request is complete.
19+
- `request`: emitted when the request is issued by the page.
20+
21+
- `requestfinished` - emitted when the response body is downloaded and the request is complete.
2022

2123
If request fails at some point, then instead of `requestfinished` event the `requestfailed` event is emitted.
2224

packages/puppeteer-core/src/api/HTTPRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export const DEFAULT_INTERCEPT_RESOLUTION_PRIORITY = 0;
7777
* following events are emitted by Puppeteer's `page`:
7878
*
7979
* - `request`: emitted when the request is issued by the page.
80+
*
8081
* - `requestfinished` - emitted when the response body is downloaded and the
8182
* request is complete.
8283
*

0 commit comments

Comments
 (0)