docs: add video to release notes (#33147)

This commit is contained in:
Debbie O'Brien 2024-10-16 18:36:46 +02:00 committed by GitHub
parent d10a5e5693
commit 9848ebec5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
## Version 1.48
<LiteYouTube
id="VGlkSBkMVCQ"
title="Playwright 1.48"
/>
### 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"`.