Skip to content

Commit 9b73edf

Browse files
authored
chore(docs): fix invalid markdown reference (#5479)
1 parent 15833ee commit 9b73edf

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/src/api/class-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ is `request`, `response` and `requestfinished`.
308308
## event: Page.webSocket
309309
- type: <[WebSocket]>
310310

311-
Emitted when <[WebSocket]> request is sent.
311+
Emitted when [WebSocket] request is sent.
312312

313313
## event: Page.worker
314314
- type: <[Worker]>

types/types.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ export interface Page {
530530
on(event: 'response', listener: (response: Response) => void): this;
531531

532532
/**
533-
* Emitted when <[WebSocket]> request is sent.
533+
* Emitted when [WebSocket] request is sent.
534534
*/
535535
on(event: 'websocket', listener: (webSocket: WebSocket) => void): this;
536536

@@ -704,7 +704,7 @@ export interface Page {
704704
once(event: 'response', listener: (response: Response) => void): this;
705705

706706
/**
707-
* Emitted when <[WebSocket]> request is sent.
707+
* Emitted when [WebSocket] request is sent.
708708
*/
709709
once(event: 'websocket', listener: (webSocket: WebSocket) => void): this;
710710

@@ -878,7 +878,7 @@ export interface Page {
878878
addListener(event: 'response', listener: (response: Response) => void): this;
879879

880880
/**
881-
* Emitted when <[WebSocket]> request is sent.
881+
* Emitted when [WebSocket] request is sent.
882882
*/
883883
addListener(event: 'websocket', listener: (webSocket: WebSocket) => void): this;
884884

@@ -1052,7 +1052,7 @@ export interface Page {
10521052
removeListener(event: 'response', listener: (response: Response) => void): this;
10531053

10541054
/**
1055-
* Emitted when <[WebSocket]> request is sent.
1055+
* Emitted when [WebSocket] request is sent.
10561056
*/
10571057
removeListener(event: 'websocket', listener: (webSocket: WebSocket) => void): this;
10581058

@@ -1226,7 +1226,7 @@ export interface Page {
12261226
off(event: 'response', listener: (response: Response) => void): this;
12271227

12281228
/**
1229-
* Emitted when <[WebSocket]> request is sent.
1229+
* Emitted when [WebSocket] request is sent.
12301230
*/
12311231
off(event: 'websocket', listener: (webSocket: WebSocket) => void): this;
12321232

@@ -3014,7 +3014,7 @@ export interface Page {
30143014
waitForEvent(event: 'response', optionsOrPredicate?: { predicate?: (response: Response) => boolean, timeout?: number } | ((response: Response) => boolean)): Promise<Response>;
30153015

30163016
/**
3017-
* Emitted when <[WebSocket]> request is sent.
3017+
* Emitted when [WebSocket] request is sent.
30183018
*/
30193019
waitForEvent(event: 'websocket', optionsOrPredicate?: { predicate?: (webSocket: WebSocket) => boolean, timeout?: number } | ((webSocket: WebSocket) => boolean)): Promise<WebSocket>;
30203020

0 commit comments

Comments
 (0)