docs: add backlink from WebSocket to WebSockeRoute (#34600)
This commit is contained in:
parent
f11f4a8477
commit
96d4dc1eda
|
|
@ -1,7 +1,9 @@
|
||||||
# class: WebSocket
|
# class: WebSocket
|
||||||
* since: v1.8
|
* since: v1.8
|
||||||
|
|
||||||
The [WebSocket] class represents websocket connections in the page.
|
The [WebSocket] class represents WebSocket connections within a page. It provides the ability to inspect and manipulate the data being transmitted and received.
|
||||||
|
|
||||||
|
If you want to intercept or modify WebSocket frames, consider using [WebSocketRoute].
|
||||||
|
|
||||||
## event: WebSocket.close
|
## event: WebSocket.close
|
||||||
* since: v1.8
|
* since: v1.8
|
||||||
|
|
|
||||||
7
packages/playwright-core/types/types.d.ts
vendored
7
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -21301,8 +21301,11 @@ export interface WebError {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The [WebSocket](https://playwright.dev/docs/api/class-websocket) class represents websocket connections in the
|
* The [WebSocket](https://playwright.dev/docs/api/class-websocket) class represents WebSocket connections within a
|
||||||
* page.
|
* page. It provides the ability to inspect and manipulate the data being transmitted and received.
|
||||||
|
*
|
||||||
|
* If you want to intercept or modify WebSocket frames, consider using
|
||||||
|
* [WebSocketRoute](https://playwright.dev/docs/api/class-websocketroute).
|
||||||
*/
|
*/
|
||||||
export interface WebSocket {
|
export interface WebSocket {
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue