Skip to content

Update dependency playwright to v1.31.1 - autoclosed

Ghost User requested to merge renovate/playwright-1.x into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
playwright (changelog) 1.27.1 -> 1.31.1 age adoption passing confidence

Update flake.nix before merging this! The versions have to match!


Release Notes

Microsoft/playwright-python

v1.31.1

Compare Source

Highlights

https://github.com/microsoft/playwright/issues/21093 - [Regression v1.31] Headless Windows shows cascading cmd windows

Browser Versions
  • Chromium 111.0.5563.19
  • Mozilla Firefox 109.0
  • WebKit 16.4

This version was also tested against the following stable channels:

  • Google Chrome 110
  • Microsoft Edge 110

v1.31.0

Compare Source

New APIs

Make sure at least some part of element intersects viewport.

expect(locator).to_be_in_viewport()

Make sure element is fully outside of viewport.

expect(locator).not_to_be_in_viewport()

Make sure that at least half of the element intersects viewport.

expect(locator).to_be_in_viewport(ratio=0.5)

#### Miscellaneous

- DOM snapshots in trace viewer can be now opened in a separate window.
- New option `max_redirects` for method [`Route.fetch`](https://playwright.dev/python/docs/api/class-route#route-fetch).
- Playwright now supports Debian 11 arm64.
#### Browser Versions

* Chromium 111.0.5563.19
* Mozilla Firefox 109.0
* WebKit 16.4

This version was also tested against the following stable channels:

* Google Chrome 110
* Microsoft Edge 110

v1.30.0

Compare Source

🎉 Happy New Year 🎉

Maintenance release with bugfixes and new browsers only.

Browser Versions
  • Chromium 110.0.5481.38
  • Mozilla Firefox 108.0.2
  • WebKit 16.4

This version was also tested against the following stable channels:

  • Google Chrome 109
  • Microsoft Edge 109

v1.29.1

Compare Source

Bugfixes

v1.29.0

Compare Source

Highlights

New APIs

Fetch original settings.

  response = route.fetch()

Force settings theme to a predefined value.

  json = response.json()
  json["theme"] = "Solorized"

Fulfill with modified data.

  route.fulfill(json=json)
page.route("**/api/settings", handle_route)
```
  • New method Locator.all to iterate over all matching elements:

Check all checkboxes!

checkboxes = page.get_by_role("checkbox")
for checkbox in checkboxes.all():
  checkbox.check()
```
  • Locator.select_option matches now by value or label:

    <select multiple>
      <option value="red">Red</div>
      <option value="green">Green</div>
      <option value="blue">Blue</div>
    </select>
    element.select_option("Red")
Miscellaneous
Browser Versions
  • Chromium 109.0.5414.46
  • Mozilla Firefox 107.0
  • WebKit 16.4

This version was also tested against the following stable channels:

  • Google Chrome 108
  • Microsoft Edge 108

v1.28.0

Compare Source

Highlights

Playwright Tools
  • Live Locators in CodeGen. Generate a locator for any element on the page using "Explore" tool.

Locator Explorer

New APIs
Browser Versions
  • Chromium 108.0.5359.29
  • Mozilla Firefox 106.0
  • WebKit 16.4

This version was also tested against the following stable channels:

  • Google Chrome 107
  • Microsoft Edge 107

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Ghost User

Merge request reports

Loading