dependabot[bot] opened a new pull request, #44688: URL: https://github.com/apache/superset/pull/44688
Updates the requirements on [playwright](https://github.com/microsoft/playwright-python) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/microsoft/playwright-python/releases">playwright's releases</a>.</em></p> <blockquote> <h2>v1.63.0</h2> <h2>🪟 Locate across frames</h2> <p><a href="https://playwright.dev/python/docs/api/class-page#page-frame-locator">page.frame_locator()</a> and <a href="https://playwright.dev/python/docs/api/class-frame#frame-frame-locator">frame.frame_locator()</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="python"><code># Finds the button in any frame on the page. page.frame_locator().get_by_role("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/python/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="python"><code>page.locator("button").visible.click() </code></pre> <h2>🖼️ Aria and screen snapshots in traces</h2> <p>New <a href="https://playwright.dev/python/docs/api/class-tracing#tracing-start-option-aria-snapshots"><code>aria_snapshots</code></a> and <a href="https://playwright.dev/python/docs/api/class-tracing#tracing-start-option-screen-snapshots"><code>screen_snapshots</code></a> options of <a href="https://playwright.dev/python/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="python"><code>context.tracing.start(snapshots=True, aria_snapshots=True, screen_snapshots=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>New APIs</h2> <h3>Browser and Context</h3> <ul> <li><a href="https://playwright.dev/python/docs/api/class-browser#browser-new-context-option-http-credentials"><code>http_credentials</code></a> now also accepts an array 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/python/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> <li>New events <a href="https://playwright.dev/python/docs/api/class-page#page-event-dialog-closed">page.on('dialogclosed')</a> and <a href="https://playwright.dev/python/docs/api/class-browsercontext#browser-context-event-dialog-closed">browserContext.on('dialogclosed')</a> are emitted when a JavaScript dialog is accepted, dismissed or closed by the user.</li> </ul> <h3>Command line</h3> <ul> <li><code>playwright install --no-remove</code> keeps the browsers of other Playwright installations instead of removing them.</li> <li><code>playwright codegen --http-credentials</code> records against pages behind HTTP authentication.</li> </ul> <h2>Announcements</h2> <ul> <li>⚠️ Ubuntu 20.04 is not supported anymore.</li> <li>🐧 On Linux arm64, Playwright now downloads the <a href="https://developer.chrome.com/blog/chrome-for-testing">Chrome for Testing</a> build of Chromium, the same build used on all other platforms.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright-python/commit/8cb967b3e4199bef5ce38e1cf34df1bf79cb8a8d"><code>8cb967b</code></a> cherry-pick(<a href="https://redirect.github.com/microsoft/playwright-python/issues/3200">#3200</a>): devops(docker): move docker publishing to Azure Pipelines</li> <li><a href="https://github.com/microsoft/playwright-python/commit/ab18c77c56f64b47e871bf4d8b08fd0675559377"><code>ab18c77</code></a> chore: roll Playwright to 1.63.0 (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3198">#3198</a>)</li> <li><a href="https://github.com/microsoft/playwright-python/commit/0e66a0927e5431b0f659ff41b6544de96b0486f5"><code>0e66a09</code></a> devops(pipeline): resolve pip and npm packages from DevDiv_PublicPackages fee...</li> <li><a href="https://github.com/microsoft/playwright-python/commit/010a9cc73f8a90bc2d7b9e34591c4e2c4a4ea566"><code>010a9cc</code></a> Pin GitHub Actions to full-length commit SHAs (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3176">#3176</a>)</li> <li><a href="https://github.com/microsoft/playwright-python/commit/154f67ced51ada646b0fcf8574897d96c9712aa3"><code>154f67c</code></a> fix(sync): wait for initialize before leaving <strong>enter</strong> (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3168">#3168</a>)</li> <li><a href="https://github.com/microsoft/playwright-python/commit/4af2fc65fb05eb04904b69b6206e9d07ca2b4cbc"><code>4af2fc6</code></a> chore: roll Playwright to 1.62.1 (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3169">#3169</a>)</li> <li><a href="https://github.com/microsoft/playwright-python/commit/4d2e058f43f05448ad29b19e82919be5b86e8349"><code>4d2e058</code></a> fix(connection): register protocol callback only after successful send (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3167">#3167</a>)</li> <li><a href="https://github.com/microsoft/playwright-python/commit/eab2bca195df8709bd32fc11129c268cf8963cd2"><code>eab2bca</code></a> chore(deps): remove unused development dependencies (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3164">#3164</a>)</li> <li>See full diff in <a href="https://github.com/microsoft/playwright-python/compare/v1.62.0...v1.63.0">compare view</a></li> </ul> </details> <br /> 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
