No description
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request. ### What changed? #### ✳️ @playwright/test (1.47.1 → 1.48.0) · [Repo](https://github.com/Microsoft/playwright) <details> <summary>Release Notes</summary> <h4><a href="https://github.com/microsoft/playwright/releases/tag/v1.48.0">1.48.0</a></h4> <blockquote><h2 dir="auto">WebSocket routing</h2> <p dir="auto">New methods <a href="https://playwright.dev/docs/api/class-page#page-route-web-socket">page.routeWebSocket()</a> and <a href="https://playwright.dev/docs/api/class-browsercontext#browser-context-route-web-socket">browserContext.routeWebSocket()</a> 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 <code class="notranslate">"request"</code> with a <code class="notranslate">"response"</code>.</p> <div class="highlight highlight-source-js" dir="auto"><pre class="notranslate"><span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">routeWebSocket</span><span class="pl-kos">(</span><span class="pl-s">'/ws'</span><span class="pl-kos">,</span> <span class="pl-s1">ws</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span> <span class="pl-s1">ws</span><span class="pl-kos">.</span><span class="pl-en">onMessage</span><span class="pl-kos">(</span><span class="pl-s1">message</span> <span class="pl-c1">=></span> <span class="pl-kos">{</span> <span class="pl-k">if</span> <span class="pl-kos">(</span><span class="pl-s1">message</span> <span class="pl-c1">===</span> <span class="pl-s">'request'</span><span class="pl-kos">)</span> <span class="pl-s1">ws</span><span class="pl-kos">.</span><span class="pl-en">send</span><span class="pl-kos">(</span><span class="pl-s">'response'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">See <a href="https://playwright.dev/docs/api/class-websocketroute">WebSocketRoute</a> for more details.</p> <h2 dir="auto">UI updates</h2> <ul dir="auto"> <li>New "copy" buttons for annotations and test location in the HTML report.</li> <li>Route method calls like <a href="https://playwright.dev/docs/api/class-route#route-fulfill">route.fulfill()</a> are not shown in the report and trace viewer anymore. You can see which network requests were routed in the network tab instead.</li> <li>New "Copy as cURL" and "Copy as fetch" buttons for requests in the network tab.</li> </ul> <h2 dir="auto">Miscellaneous</h2> <ul dir="auto"> <li>Option <a href="https://playwright.dev/docs/api/class-apirequestcontext#api-request-context-fetch-option-form"><code class="notranslate">form</code></a> and similar ones now accept <a href="https://playwright.dev/docs/api/class-formdata">FormData</a>.</li> <li>New method <a href="https://playwright.dev/docs/api/class-page#page-request-gc">page.requestGC()</a> may help detect memory leaks.</li> <li>New option <a href="https://playwright.dev/docs/api/class-test#test-step-option-location"><code class="notranslate">location</code></a> to pass custom step location.</li> <li>Requests made by <a href="https://playwright.dev/docs/api/class-apirequestcontext">APIRequestContext</a> now record detailed timing and security information in the HAR.</li> </ul> <h2 dir="auto">Browser Versions</h2> <ul dir="auto"> <li>Chromium 130.0.6723.19</li> <li>Mozilla Firefox 130.0</li> <li>WebKit 18.0</li> </ul> <p dir="auto">This version was also tested against the following stable channels:</p> <ul dir="auto"> <li>Google Chrome 129</li> <li>Microsoft Edge 129</li> </ul></blockquote> <h4><a href="https://github.com/microsoft/playwright/releases/tag/v1.47.2">1.47.2</a></h4> <blockquote><h3 dir="auto">Highlights</h3> <p dir="auto"><a href="https://bounce.depfu.com/github.com/microsoft/playwright/pull/32699">#32699</a> [REGRESSION]: fix(codegen): use content_frame property in python/.NET<br> <a href="https://bounce.depfu.com/github.com/microsoft/playwright/issues/32706">#32706</a> [REGRESSION]: page.pause() does not pause test timeout after 1.47<br> <a href="https://bounce.depfu.com/github.com/microsoft/playwright/pull/32661">#32661</a> - fix(trace-viewer): time delta between local and remote actions</p> <h2 dir="auto">Browser Versions</h2> <ul dir="auto"> <li>Chromium 129.0.6668.29</li> <li>Mozilla Firefox 130.0</li> <li>WebKit 18.0</li> </ul> <p dir="auto">This version was also tested against the following stable channels:</p> <ul dir="auto"> <li>Google Chrome 128</li> <li>Microsoft Edge 128</li> </ul></blockquote> <p><em>Does any of this look wrong? <a href=" |
||
|---|---|---|
| .github | ||
| crates | ||
| integrations | ||
| packages | ||
| patches | ||
| playgrounds | ||
| scripts | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| rust-toolchain.toml | ||
| turbo.json | ||
| vitest.workspace.ts | ||
A utility-first CSS framework for rapidly building custom user interfaces.
Documentation
For full documentation, visit tailwindcss.com.
Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
Discuss Tailwind CSS on GitHub
For chatting with others using the framework:
Join the Tailwind CSS Discord Server
Contributing
If you're interested in contributing to Tailwind CSS, please read our contributing docs before submitting a pull request.