Packages

@playwright/experimental-ct-vue2

1.48.2 · 25 Oct 2024Apache-2.013.2k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.What to use instead
Your version

1.48.0

8 Oct 2024Where it was published

1.48.2 is the newest release of 1.x.

npm marks 1.48.0 as deprecated: Package no longer supported. Contact Support at npmjs.com/support for more info.

In short

4 new6 changed2 internal

Release note

WebSocket routing

New methods page.routeWebSocket() and 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".

await page.routeWebSocket('/ws', ws => {
  ws.onMessage(message => {
    if (message === 'request')
      ws.send('response');
  });
});

See WebSocketRoute for more details.

UI updates

  • New "copy" buttons for annotations and test location in the HTML report.

  • Route method calls like route.fulfill() are not shown in the report and trace viewer anymore. You can see which network requests were routed in the network tab instead.

  • New "Copy as cURL" and "Copy as fetch" buttons for requests in the network tab.

Miscellaneous

Browser Versions

  • Chromium 130.0.6723.19

  • Mozilla Firefox 130.0

  • WebKit 18.0

This version was also tested against the following stable channels:

  • Google Chrome 129

  • Microsoft Edge 129

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.