Playwright

Latest version: v1.44.0

Safety actively analyzes 629503 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 17

1.26.1

Bugfixes

- fix(driver): with CWD which contained spaces (https://github.com/microsoft/playwright/pull/17579, #1561, 1565)
- chore: mark pathAfterFinished return value optional (1567)

1.26.0

Highlights

Assertions

- New option `enabled` for [`method: LocatorAssertions.to_be_enabled`](https://playwright.dev/python/docs/test-assertions#locator-assertions-not-to-be-enabled-option-enabled).
- [`method: LocatorAssertions.to_have_text`](https://playwright.dev/python/docs/test-assertions#locator-assertions-not-to-have-text) now pierces open shadow roots.
- New option `editable` for [`method: LocatorAssertions.to_be_editable`](https://playwright.dev/python/docs/test-assertions#locator-assertions-to-be-editable-option-editable).
- New option `visible` for [`method: LocatorAssertions.to_be_visible`](https://playwright.dev/python/docs/test-assertions#locator-assertions-to-be-visible-option-visible).

Other highlights

- New option `max_redirects` for [`method: APIRequestContext.get`](https://playwright.dev/python/docs/api/class-apirequestcontext#api-request-context-get-option-max-redirects) and others to limit redirect count.
- Python 3.11 is now supported.

Behavior Change

A bunch of Playwright APIs already support the `wait_until: "domcontentloaded"` option.
For example:

python
page.goto("https://playwright.dev", wait_until="domcontentloaded")


Prior to 1.26, this would wait for all iframes to fire the `DOMContentLoaded`
event.

To align with web specification, the `'domcontentloaded'` value only waits for
the target frame to fire the `'DOMContentLoaded'` event. Use `wait_until="load"` to wait for all iframes.

Browser Versions

* Chromium 106.0.5249.30
* Mozilla Firefox 104.0
* WebKit 16.0

This version was also tested against the following stable channels:

* Google Chrome 105
* Microsoft Edge 105

1.25.2

Highlights

- [BUG] Jammy images not available in advertised location (https://github.com/microsoft/playwright-python/issues/1518)
- Roll to latest patch release of upstream driver

1.25.1

Bugfixes

- [REGRESSION] 1.25.0 distributes "scripts" as a package (https://github.com/microsoft/playwright-python/issues/1500#issuecomment-1216847242)

1.25.0

Highlights

Announcements

* 🎁 We now ship Ubuntu 22.04 Jammy Jellyfish docker image: `mcr.microsoft.com/playwright/python:v1.25.0-jammy`.
* 🪦 This is the last release with macOS 10.15 support (deprecated as of 1.21).
* ⚠️ Ubuntu 18 is now deprecated and will not be supported as of Dec 2022.

Browser Versions

* Chromium 105.0.5195.19
* Mozilla Firefox 103.0
* WebKit 16.0

This version was also tested against the following stable channels:

* Google Chrome 104
* Microsoft Edge 104

1.24.1

Bug Fixes

- fix Route.abort not reported as handled 1458

Page 5 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.