Releases: microsoft/playwright-python
Releases · microsoft/playwright-python
v0.150.0
Highlights
- Based on Playwright 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. - 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
- Record Playwright scripts in Python using
Breaking changes
- Chromium sandboxing is now opt-in. This is to simplify running Playwright tests in CI environments. Learn how to enable sandboxing.
Browser Versions
- Chromium 88.0.4287.0
- Mozilla Firefox 82.0b9
- WebKit 14.0
New APIs
browser.newPage()
,browser.newContext()
andbrowserType.launchPersistentContext()
now supportvideosPath
andvideoSize
option.- New
browserContext.browser()
method. - Both
browserContext.exposeBinding()
andpage.exposeBinding()
now accepthandle
parameter to pass handles instead of serialized values.
v0.142.3
- Tolerate spaces in the install path!
v0.142.2
- Includes the win32 version of the driver for 32 bit Python installs
v0.142.1
chore: make browser.newPage device-friendly (#203)
v0.142.0
Rolls Playwright to v1.4.2
Version 0.140.0
Version 0.8.0
Changes:
- enh: support for usage in a REPL (#161)
- chore: add downstream test discrepancy reporter (#167)
- fix: cleanup of path and pathlib usages (#166)
- feat: roll driver to 1.3.0-next.1596843106133, handle paths on the cl… …
- fix(error): display correct message (#165)
All changes v0.7.0...v0.8.0
Version 0.7.1
- fix: launchPersistentContext with extraHTTPHeaders (#157)
- fix: stderr redirect with monkeypatched stderr (#159)
All changes v0.7.0...v0.7.1
Version 0.7.0
- Rolling to Playwright 1.3
- Minor fixes
All changes: v0.0.6...v0.7.0
Version 0.0.6
- chore: validate dictionary keys (#137)
- fix: forward driver stderr to main stderr (#145)
- fix: keyboard.type() method (#146)
- test: add cookie test files (#142)
All changes: v0.0.5...v0.0.6