Skip to content

Commit

Permalink
Build(deps-dev): Bump com.microsoft.playwright:playwright from 1.47.0…
Browse files Browse the repository at this point in the history
… to 1.48.0 (#893)

Bumps
[com.microsoft.playwright:playwright](https://github.com/microsoft/playwright-java)
from 1.47.0 to 1.48.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/microsoft/playwright-java/releases">com.microsoft.playwright:playwright's
releases</a>.</em></p>
<blockquote>
<h2>v1.48.0</h2>
<h2>WebSocket routing</h2>
<p>New methods <a
href="https://playwright.dev/java/docs/api/class-page#page-route-web-socket">page.routeWebSocket()</a>
and <a
href="https://playwright.dev/java/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>&quot;request&quot;</code> with a
<code>&quot;response&quot;</code>.</p>
<pre lang="java"><code>page.routeWebSocket(&quot;/ws&quot;, ws -&gt; {
  ws.onMessage(message -&gt; {
    if (&quot;request&quot;.equals(message))
      ws.send(&quot;response&quot;);
  });
});
</code></pre>
<p>See <a
href="https://playwright.dev/java/docs/api/class-websocketroute">WebSocketRoute</a>
for more details.</p>
<h2>UI updates</h2>
<ul>
<li>New &quot;copy&quot; buttons for annotations and test location in
the HTML report.</li>
<li>Route method calls like <a
href="https://playwright.dev/java/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 &quot;Copy as cURL&quot; and &quot;Copy as fetch&quot; buttons
for requests in the network tab.</li>
</ul>
<h2>Miscellaneous</h2>
<ul>
<li>New method <a
href="https://playwright.dev/java/docs/api/class-page#page-request-gc">page.requestGC()</a>
may help detect memory leaks.</li>
<li>Requests made by <a
href="https://playwright.dev/java/docs/api/class-apirequestcontext">APIRequestContext</a>
now record detailed timing and security information in the HAR.</li>
</ul>
<h2>Browser Versions</h2>
<ul>
<li>Chromium 130.0.6723.19</li>
<li>Mozilla Firefox 130.0</li>
<li>WebKit 18.0</li>
</ul>
<p>This version was also tested against the following stable
channels:</p>
<ul>
<li>Google Chrome 129</li>
<li>Microsoft Edge 129</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/playwright-java/commit/ea48985e218514a76472fcf733336f51a1822d72"><code>ea48985</code></a>
chore: set version to 1.48.0 (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1688">#1688</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/20b13ad0c0c9185d1c30b6171a098b2d65f105ab"><code>20b13ad</code></a>
chore: roll driver 1.48.1 (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1687">#1687</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/08ac52ca53692aae9427cbdffd2e7689c3cd8d92"><code>08ac52c</code></a>
chore(deps): bump the all group with 4 updates (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1680">#1680</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/9c220cd359450d4d848462fc60b54a2adaffb0ed"><code>9c220cd</code></a>
test: update web socket tests to properly dispatch ws messages (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1683">#1683</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/ab443d163883dcfed0ea1317f45933169c25212b"><code>ab443d1</code></a>
chore: roll 1.48 beta driver (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1681">#1681</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/186aede95c902edc796014c1b9e26274de03c555"><code>186aede</code></a>
devops: use wget for driver downloads (<a
href="https://redirect.github.com/microsoft/playwright-java/issues/1679">#1679</a>)</li>
<li><a
href="https://github.com/microsoft/playwright-java/commit/db52fa94e75b0e2883d9b1590d2731550928f8fa"><code>db52fa9</code></a>
docs: remove snapshot badge from README</li>
<li>See full diff in <a
href="https://github.com/microsoft/playwright-java/compare/v1.47.0...v1.48.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.microsoft.playwright:playwright&package-manager=maven&previous-version=1.47.0&new-version=1.48.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
  • Loading branch information
derTobsch authored Oct 22, 2024
2 parents 75862bb + acba755 commit 3564829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
<dependency>
<groupId>com.microsoft.playwright</groupId>
<artifactId>playwright</artifactId>
<version>1.47.0</version>
<version>1.48.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 3564829

Please sign in to comment.