Playwright

Latest version: v1.49.0

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

Scan your dependencies

Page 27 of 32

0.151.1

Bugfixes:
- fix: AttributeError with mocked stderr (fix 246) (247)

All changes:
- tests: mark test as flaky (248)
- fix: AttributeError with mocked stderr (fix 246) (247)
- devops: Run CI jobs also on Python 3.9 (226)

0.151.0

0.150.0

Highlights
- Based on **Playwright [v1.5.0](https://github.com/microsoft/playwright/releases/tag/v1.5.0)**
- **Video screencasts API is now stable**: Use the `videosPath` option while creating browser contexts to record videos for all pages within the context. [See examples](https://playwright.dev/#path=docs%2Fverification.md&q=videos).
- **CLI** is now baked into Playwright module. List available CLI options with `python -m playwright --help`
- Record Playwright scripts in Python using `python -m playwright codegen`
- Record async scripts using `python -m playwright codegen --target=python-async`
- Open pages and capture screenshots
- Generate PDFs
- Learn more on the [playwright-cli page](https://github.com/microsoft/playwright-cli)


Breaking changes
- Chromium sandboxing is now opt-in. This is to simplify running Playwright tests in CI environments. Learn how to [enable sandboxing](https://playwright.dev/#path=docs%2Fdocker%2FREADME.md&q=run-the-image).

Browser Versions

- Chromium 88.0.4287.0
- Mozilla Firefox 82.0b9
- WebKit 14.0

New APIs

- `browser.newPage()`, `browser.newContext()` and `browserType.launchPersistentContext()` now support `videosPath` and `videoSize` option.
- New `browserContext.browser()` method.
- Both `browserContext.exposeBinding()` and `page.exposeBinding()` now accept `handle` parameter to pass handles instead of serialized values.

0.142.3

- Tolerate spaces in the install path!

0.142.2

- Includes the win32 version of the driver for 32 bit Python installs

0.142.1

Page 27 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.