Skip to content

Releases: microsoft/playwright-python

v0.150.0

13 Oct 21:55
Compare
Choose a tag to compare

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

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() 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.

v0.142.3

03 Oct 19:49
d98d38b
Compare
Choose a tag to compare
  • Tolerate spaces in the install path!

v0.142.2

02 Oct 19:19
b4137f2
Compare
Choose a tag to compare
  • Includes the win32 version of the driver for 32 bit Python installs

v0.142.1

28 Sep 23:14
048cc22
Compare
Choose a tag to compare
chore: make browser.newPage device-friendly (#203)

v0.142.0

28 Sep 19:59
c55f262
Compare
Choose a tag to compare

Rolls Playwright to v1.4.2

Version 0.140.0

13 Sep 21:51
992cd77
Compare
Choose a tag to compare

Upgrade to Playwright 1.4.0 (#180 #182 #186)

Version 0.8.0

21 Aug 08:35
74c5f66
Compare
Choose a tag to compare

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

07 Aug 08:14
05e48f6
Compare
Choose a tag to compare
  • fix: launchPersistentContext with extraHTTPHeaders (#157)
  • fix: stderr redirect with monkeypatched stderr (#159)

All changes v0.7.0...v0.7.1

Version 0.7.0

06 Aug 17:47
26ac810
Compare
Choose a tag to compare
  • Rolling to Playwright 1.3
  • Minor fixes

All changes: v0.0.6...v0.7.0

Version 0.0.6

05 Aug 17:54
d913f1d
Compare
Choose a tag to compare
  • 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