mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: add video to release notes (#33147)
This commit is contained in:
parent
d10a5e5693
commit
9848ebec5a
@ -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…
x
Reference in New Issue
Block a user