dependabot[bot] opened a new pull request, #2176: URL: https://github.com/apache/stormcrawler/pull/2176
Bumps [com.microsoft.playwright:playwright](https://github.com/microsoft/playwright-java) from 1.62.0 to 1.63.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.63.0</h2> <h2>🪟 Locate across frames</h2> <p><a href="https://playwright.dev/java/docs/api/class-page#page-frame-locator">page.frameLocator()</a> and <a href="https://playwright.dev/java/docs/api/class-frame#frame-frame-locator">frame.frameLocator()</a> called without a selector search in any frame of the subtree, so you no longer need to locate the iframe first:</p> <pre lang="java"><code>// Finds the button in any frame on the page. page.frameLocator().getByRole(AriaRole.BUTTON).click(); </code></pre> <p>The rest of the locator resolves inside a single frame, just like a regular locator, and an error is thrown when it matches elements in several frames.</p> <h2>👁️ Visible-only locators</h2> <p>New <a href="https://playwright.dev/java/docs/api/class-locator#locator-visible">locator.visible()</a> returns a locator that matches only visible elements. It is the recommended replacement for the <code>:visible</code> CSS pseudo-class:</p> <pre lang="java"><code>page.locator("button").visible().click(); </code></pre> <h2>🖼️ Aria and screen snapshots in traces</h2> <p>New <a href="https://playwright.dev/java/docs/api/class-tracing#tracing-start-option-aria-snapshots"><code>ariaSnapshots</code></a> and <a href="https://playwright.dev/java/docs/api/class-tracing#tracing-start-option-screen-snapshots"><code>screenSnapshots</code></a> options of <a href="https://playwright.dev/java/docs/api/class-tracing#tracing-start">tracing.start()</a> capture an aria snapshot and a screenshot of the page on every action:</p> <pre lang="java"><code>context.tracing().start(new Tracing.StartOptions() .setSnapshots(true) .setAriaSnapshots(true) .setScreenSnapshots(true)); </code></pre> <p>With aria and screen snapshots recorded, the new <strong>Display Aria</strong> mode in the trace viewer shows the action screenshot side by side with the aria snapshot, and hovering an aria node highlights it on the screenshot.</p> <h2>☕ Nullability annotations</h2> <p>The public API is now annotated with <a href="https://jspecify.dev">JSpecify</a> nullability annotations. The <code>com.microsoft.playwright</code>, <code>com.microsoft.playwright.options</code> and <code>com.microsoft.playwright.assertions</code> packages are <code>@NullMarked</code>, and values that can be absent are marked <code>@Nullable</code>, so null-checking tools such as NullAway, as well as Kotlin code, can catch missing null checks at compile time.</p> <h2>New APIs</h2> <h3>Browser and Context</h3> <ul> <li><a href="https://playwright.dev/java/docs/api/class-browser#browser-new-context-option-http-credentials"><code>httpCredentials</code></a> now also accepts a list of credentials. The first entry matching the request origin is used, and entries without an origin match any request.</li> <li>New option <a href="https://playwright.dev/java/docs/api/class-browsercontext#browser-context-storage-state-option-opfs"><code>opfs</code></a> includes the <a href="https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system">origin private file system</a> in the storage state, so it can be persisted and restored into later contexts.</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/4653824d88e3516ad31523f04d4d3e0cdcaf503d"><code>4653824</code></a> chore: mark 1.63.0 (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1983">#1983</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/853e127720746d295527c1b566b08a015f6cafd4"><code>853e127</code></a> fix(evaluate): 0.0 is serialized as -0 (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1981">#1981</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/fc32dacca156910753fee4b9bbe380f789333552"><code>fc32dac</code></a> fix(tracing): send addStackToTracingNoReply on the LocalUtils connection (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1967">#1967</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/5d1ae9ce096913229895fdf2d3e7699c1a9e4207"><code>5d1ae9c</code></a> fix(screencast): pass size option to screencastStart (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1980">#1980</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/e3056a29517d4de496354ccbe2646a6f49b67962"><code>e3056a2</code></a> fix(build): restore javadoc jar contents (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1979">#1979</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/f9e9115ab4cbf4cfd60efd55bc1217a391c22b4c"><code>f9e9115</code></a> chore(driver): roll to 1.63.0 (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1978">#1978</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/2fde7b0516b59fe2eb1fa706612b508cd9998ac2"><code>2fde7b0</code></a> chore(deps-dev): bump the all group with 2 updates (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1974">#1974</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/045d72f59f4f106ddd311b3b8ee60b29087df6ab"><code>045d72f</code></a> feat(api): add JSpecify nullability annotations (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1970">#1970</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/11152a2dc811254f744bbb0b86c1ee4df2008fa4"><code>11152a2</code></a> Pin GitHub Actions to full-length commit SHAs (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1964">#1964</a>)</li> <li><a href="https://github.com/microsoft/playwright-java/commit/07cb05cdac15523a402f024510617b5c134e45ee"><code>07cb05c</code></a> chore(driver): roll to 1.63.0-alpha-1788460676000 (<a href="https://redirect.github.com/microsoft/playwright-java/issues/1972">#1972</a>)</li> <li>Additional commits viewable in <a href="https://github.com/microsoft/playwright-java/compare/v1.62.0...v1.63.0">compare view</a></li> </ul> </details> <br /> [](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]
