Skip to content

Commit

Permalink
cherry-pick(#33147): docs: add video to release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
debs-obrien authored and mxschmitt committed Oct 16, 2024
1 parent ceb756d commit 5b54067
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/release-notes-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"`.
Expand Down

0 comments on commit 5b54067

Please sign in to comment.