dependabot[bot] opened a new pull request, #1916:
URL: https://github.com/apache/stormcrawler/pull/1916

   Bumps 
[com.microsoft.playwright:playwright](https://github.com/microsoft/playwright-java)
 from 1.59.0 to 1.60.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.60.0</h2>
   <h2>🌐 HAR recording on Tracing</h2>
   <p><a 
href="https://playwright.dev/java/docs/api/class-tracing#tracing-start-har";>tracing.startHar()</a>
 / <a 
href="https://playwright.dev/java/docs/api/class-tracing#tracing-stop-har";>tracing.stopHar()</a>
 expose HAR recording as a first-class tracing API, with the same 
<code>content</code>, <code>mode</code> and <code>urlFilter</code> options as 
<code>recordHar</code>:</p>
   <pre 
lang="java"><code>context.tracing().startHar(Paths.get(&quot;trace.har&quot;));
   Page page = context.newPage();
   page.navigate(&quot;https://playwright.dev&quot;);
   context.tracing().stopHar();
   </code></pre>
   <h2>🪝 Drop API</h2>
   <p>New <a 
href="https://playwright.dev/java/docs/api/class-locator#locator-drop";>locator.drop()</a>
 simulates an external drag-and-drop of files or clipboard-like data onto an 
element. Playwright dispatches <code>dragenter</code>, <code>dragover</code>, 
and <code>drop</code> with a synthetic [DataTransfer] in the page context — 
works cross-browser and is great for testing upload zones:</p>
   <pre lang="java"><code>page.locator(&quot;#dropzone&quot;).drop(new 
Locator.DropPayload()
       .setFiles(new FilePayload(&quot;note.txt&quot;, &quot;text/plain&quot;, 
&quot;hello&quot;.getBytes(StandardCharsets.UTF_8))));
   <p>page.locator(&quot;#dropzone&quot;).drop(new Locator.DropPayload()
   .setData(Map.of(
   &quot;text/plain&quot;, &quot;hello world&quot;,
   &quot;text/uri-list&quot;, &quot;<a 
href="https://example.com";>https://example.com</a>&quot;)));
   </code></pre></p>
   <h2>🎯 Aria snapshots</h2>
   <ul>
   <li><a 
href="https://playwright.dev/java/docs/api/class-pageassertions#page-assertions-to-match-aria-snapshot";>assertThat(page).matchesAriaSnapshot()</a>
 now works on a <a 
href="https://playwright.dev/java/docs/api/class-page";>Page</a>, in addition to 
a <a href="https://playwright.dev/java/docs/api/class-locator";>Locator</a> — 
equivalent to asserting against 
<code>page.locator(&quot;body&quot;)</code>.</li>
   <li>New <code>boxes</code> option on <a 
href="https://playwright.dev/java/docs/api/class-locator#locator-aria-snapshot";>locator.ariaSnapshot()</a>
 / <a 
href="https://playwright.dev/java/docs/api/class-page#page-aria-snapshot";>page.ariaSnapshot()</a>
 appends each element's bounding box as <code>[box=x,y,width,height]</code>, 
useful for AI consumption.</li>
   </ul>
   <h2>New APIs</h2>
   <h3>Browser, Context and Page</h3>
   <ul>
   <li>Event <a 
href="https://playwright.dev/java/docs/api/class-browser#browser-event-context";>browser.onContext()</a>
 — fired when a new context is created on the browser.</li>
   <li><a 
href="https://playwright.dev/java/docs/api/class-browsercontext";>BrowserContext</a>
 now mirrors lifecycle events from its pages: <a 
href="https://playwright.dev/java/docs/api/class-browsercontext#browser-context-event-download";>browserContext.onDownload()</a>,
 <a 
href="https://playwright.dev/java/docs/api/class-browsercontext#browser-context-event-frame-attached";>browserContext.onFrameAttached()</a>,
 <a 
href="https://playwright.dev/java/docs/api/class-browsercontext#browser-context-event-frame-detached";>browserContext.onFrameDetached()</a>,
 <a 
href="https://playwright.dev/java/docs/api/class-browsercontext#browser-context-event-frame-navigated";>browserContext.onFrameNavigated()</a>,
 <a 
href="https://playwright.dev/java/docs/api/class-browsercontext#browser-context-event-page-close";>browserContext.onPageClose()</a>,
 <a 
href="https://playwright.dev/java/docs/api/class-browsercontext#browser-context-event-page-load";>browserContext.onPageLoad()</a>.</li>
   </ul>
   <h3>Locators and Assertions</h3>
   <ul>
   <li>New option <code>description</code> in <a 
href="https://playwright.dev/java/docs/api/class-page#page-get-by-role";>page.getByRole()</a>
 / <a 
href="https://playwright.dev/java/docs/api/class-locator#locator-get-by-role";>locator.getByRole()</a>
 / <a 
href="https://playwright.dev/java/docs/api/class-frame#frame-get-by-role";>frame.getByRole()</a>
 / <a 
href="https://playwright.dev/java/docs/api/class-framelocator#frame-locator-get-by-role";>frameLocator.getByRole()</a>
 for matching the <a 
href="https://www.w3.org/TR/wai-aria-1.2/#dfn-accessible-description";>accessible
 description</a>.</li>
   <li>New option <code>pseudo</code> in <a 
href="https://playwright.dev/java/docs/api/class-locatorassertions#locator-assertions-to-have-css";>assertThat(locator).hasCSS()</a>
 reads computed styles from <code>::before</code> or <code>::after</code>.</li>
   <li>New option <code>style</code> in <a 
href="https://playwright.dev/java/docs/api/class-locator#locator-highlight";>locator.highlight()</a>
 applies extra inline CSS to the highlight overlay, plus new <a 
href="https://playwright.dev/java/docs/api/class-page#page-hide-highlight";>page.hideHighlight()</a>
 to clear all highlights.</li>
   </ul>
   <h3>Network</h3>
   <ul>
   <li><a 
href="https://playwright.dev/java/docs/api/class-websocketroute#web-socket-route-protocols";>webSocketRoute.protocols()</a>
 returns the WebSocket subprotocols requested by the page.</li>
   <li>New option <code>noDefaults</code> in <a 
href="https://playwright.dev/java/docs/api/class-browsertype#browser-type-connect-over-cdp";>browserType.connectOverCDP()</a>
 disables Playwright's default overrides on the default context (download 
behavior, focus emulation, media emulation), so attaching to a user's 
daily-driver browser doesn't disturb its state.</li>
   </ul>
   <h3>Errors</h3>
   <ul>
   <li>New <a 
href="https://playwright.dev/java/docs/api/class-weberror#web-error-location";>webError.location()</a>
 mirrors <a 
href="https://playwright.dev/java/docs/api/class-consolemessage#console-message-location";>consoleMessage.location()</a>.</li>
   </ul>
   <h2>🛠️ Other improvements</h2>
   <ul>
   <li>Trace Viewer adds a pretty-print toggle for JSON / form request and 
response bodies in the network details panel.</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/microsoft/playwright-java/commit/55134ef3a5ea7607cd200d4662738a172ae146b8";><code>55134ef</code></a>
 chore: mark 1.60.0 (<a 
href="https://redirect.github.com/microsoft/playwright-java/issues/1922";>#1922</a>)</li>
   <li><a 
href="https://github.com/microsoft/playwright-java/commit/793b1d3d6152437e21c327f0779370662a1aa0ed";><code>793b1d3</code></a>
 chore: roll driver to 1.60.0 (<a 
href="https://redirect.github.com/microsoft/playwright-java/issues/1921";>#1921</a>)</li>
   <li><a 
href="https://github.com/microsoft/playwright-java/commit/8f66ef1f13e23c48eb43a1805d017866e58fe80d";><code>8f66ef1</code></a>
 test_docker: align container launch with playwright-browsers (<a 
href="https://redirect.github.com/microsoft/playwright-java/issues/1919";>#1919</a>)</li>
   <li><a 
href="https://github.com/microsoft/playwright-java/commit/dc66e4d1a39c9e04fb001ecd0a30b2a9d9842165";><code>dc66e4d</code></a>
 chore(deps): bump com.google.code.gson:gson from 2.13.2 to 2.14.0 in the all 
...</li>
   <li><a 
href="https://github.com/microsoft/playwright-java/commit/d84a2db0b348ace4c349c3f93fd62646bbf7c929";><code>d84a2db</code></a>
 chore: roll driver to 1.60.0-beta-1778180503000 (<a 
href="https://redirect.github.com/microsoft/playwright-java/issues/1918";>#1918</a>)</li>
   <li><a 
href="https://github.com/microsoft/playwright-java/commit/f081667e44b5e1fec2a9f1179af76b687808f684";><code>f081667</code></a>
 chore: roll to 1.60.0-alpha-2026-05-05 (<a 
href="https://redirect.github.com/microsoft/playwright-java/issues/1916";>#1916</a>)</li>
   <li><a 
href="https://github.com/microsoft/playwright-java/commit/5b33729849608904e8fe709ee7a6aa042708f629";><code>5b33729</code></a>
 chore: reduce CI flakiness across webkit/macOS, ubuntu, windows (<a 
href="https://redirect.github.com/microsoft/playwright-java/issues/1914";>#1914</a>)</li>
   <li>See full diff in <a 
href="https://github.com/microsoft/playwright-java/compare/v1.59.0...v1.60.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.59.0&new-version=1.60.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 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>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to