cherry-pick(#33147): docs: add video to release notes
This commit is contained in:
parent
ceb756dad3
commit
5b540676f2
|
|
@ -8,6 +8,11 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
|
||||||
|
|
||||||
## Version 1.48
|
## Version 1.48
|
||||||
|
|
||||||
|
<LiteYouTube
|
||||||
|
id="VGlkSBkMVCQ"
|
||||||
|
title="Playwright 1.48"
|
||||||
|
/>
|
||||||
|
|
||||||
### WebSocket routing
|
### WebSocket routing
|
||||||
|
|
||||||
New methods [`method: Page.routeWebSocket`] and [`method: BrowserContext.routeWebSocket`] allow to intercept, modify and mock WebSocket connections initiated in the page. Below is a simple example that mocks WebSocket communication by responding to a `"request"` with a `"response"`.
|
New methods [`method: Page.routeWebSocket`] and [`method: BrowserContext.routeWebSocket`] allow to intercept, modify and mock WebSocket connections initiated in the page. Below is a simple example that mocks WebSocket communication by responding to a `"request"` with a `"response"`.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue