Skip to content

Commit

Permalink
feat(roll): roll to 1.48 Playwright (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
playwrightmachine authored Oct 17, 2024
1 parent a921669 commit c31dbcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nodejs/versioned_docs/version-stable/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import LiteYouTube from '@site/src/components/LiteYouTube';

## Version 1.48

<LiteYouTube id="VGlkSBkMVCQ" title="Playwright 1.48" />

### WebSocket routing

New methods [page.routeWebSocket()](/api/class-page.mdx#page-route-web-socket) and [browserContext.routeWebSocket()](/api/class-browsercontext.mdx#browser-context-route-web-socket) 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 c31dbcf

Please sign in to comment.