Skip to content

Commit 0b5f8f2

Browse files
Upgrade: [dependabot] - bump playwright from 1.56.0 to 1.57.0 (#519)
Bumps [playwright](https://github.com/microsoft/playwright-python) from 1.56.0 to 1.57.0. <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.57.0</h2> <h2>Chrome for Testing</h2> <p>Starting with this release, Playwright switches from Chromium, to using <a href="https://developer.chrome.com/blog/chrome-for-testing/">Chrome for Testing</a> builds. Both headed and headless browsers are subject to this. Your tests should still be passing after upgrading to Playwright 1.57.</p> <p>We're expecting no functional changes to come from this switch. The biggest change is the new icon and title in your toolbar.</p> <!-- raw HTML omitted --> <p>If you still see an unexpected behaviour change, please <a href="https://github.com/microsoft/playwright/issues/new">file an issue</a>.</p> <p>On Arm64 Linux, Playwright continues to use Chromium.</p> <h2>Breaking Change</h2> <p>After 3 years of being deprecated, we removed <code>page.accessibility</code> from our API. Please use other libraries such as <a href="https://www.deque.com/axe/">Axe</a> if you need to test page accessibility. See our Node.js <a href="https://playwright.dev/docs/accessibility-testing">guide</a> for integration with Axe.</p> <h2>New APIs</h2> <ul> <li><a href="https://playwright.dev/python/docs/api/class-worker#worker-event-console">worker.on(&quot;console&quot;)</a> event is emitted when JavaScript within the worker calls one of console API methods, e.g. console.log or console.dir. <a href="https://playwright.dev/python/docs/api/class-worker#worker-wait-for-event">worker.expect_event()</a> can be used to wait for it.</li> <li><a href="https://playwright.dev/python/docs/api/class-locator#locator-description">locator.description()</a> returns locator description previously set with <a href="https://playwright.dev/python/docs/api/class-locator#locator-describe">locator.describe()</a>.</li> <li>New option <a href="https://playwright.dev/python/docs/api/class-locator#locator-click-option-steps"><code>steps</code></a> in <a href="https://playwright.dev/python/docs/api/class-locator#locator-click">locator.click()</a> and <a href="https://playwright.dev/python/docs/api/class-locator#locator-drag-to">locator.drag_to()</a> that configures the number of <code>mousemove</code> events emitted while moving the mouse pointer to the target element.</li> <li>Network requests issued by <a href="https://playwright.dev/python/docs/service-workers#network-events-and-routing">Service Workers</a> are now reported and can be routed through the <a href="https://playwright.dev/python/docs/api/class-browsercontext">BrowserContext</a>, only in Chromium. You can opt out using the <code>PLAYWRIGHT_DISABLE_SERVICE_WORKER_NETWORK</code> environment variable.</li> <li>Console messages from Service Workers are dispatched through <a href="https://playwright.dev/python/docs/api/class-worker#worker-event-console">worker.on(&quot;console&quot;)</a>. You can opt out of this using the <code>PLAYWRIGHT_DISABLE_SERVICE_WORKER_CONSOLE</code> environment variable.</li> </ul> <h2>Browser Versions</h2> <ul> <li>Chromium 143.0.7499.4</li> <li>Mozilla Firefox 144.0.2</li> <li>WebKit 26.0</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/microsoft/playwright-python/commit/732639b35a0b1ba51134a851c39897e945466a94"><code>732639b</code></a> cherry-pick(3014): chore: throw FileNotFoundError for nonexistant files (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3014">#3014</a>)</li> <li><a href="https://github.com/microsoft/playwright-python/commit/a2e39af01429413ebf03e6f5cb24e17ec5a38264"><code>a2e39af</code></a> cherr-pick(3013): chore: implement Request.service_worker (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3013">#3013</a>)</li> <li><a href="https://github.com/microsoft/playwright-python/commit/2d3075502f8d6e4574ae34f71b8f77f61d14903d"><code>2d30755</code></a> chore: roll 1.57.0 (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3012">#3012</a>)</li> <li><a href="https://github.com/microsoft/playwright-python/commit/3d1b875a9cc7d975fefb3058022ed31068421950"><code>3d1b875</code></a> chore: roll to 1.57.0-beta-1763718928000 (<a href="https://redirect.github.com/microsoft/playwright-python/issues/3007">#3007</a>)</li> <li>See full diff in <a href="https://github.com/microsoft/playwright-python/compare/v1.56.0...v1.57.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=playwright&package-manager=pip&previous-version=1.56.0&new-version=1.57.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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7f31d9a commit 0b5f8f2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ python-dotenv = "^1.2.1"
2727
requests-oauthlib = "^2.0.0"
2828
nhs-number-generator = {git = "https://github.com/Iain-S/nhs_number_generator.git"}
2929
pyright = "^1.1.407"
30-
playwright = "^1.56.0"
30+
playwright = "^1.57.0"
3131
jycm = "^1.5.0"
3232
pyotp = "^2.9.0"
3333
lxml = "5.4.0"

0 commit comments

Comments
 (0)