Skip to content

Releases: microsoft/playwright-python

v0.152.0

30 Oct 00:55
b5f8151
Compare
Choose a tag to compare

Rolled to Playwright 1.5.2

v0.151.1

22 Oct 17:14
088c42e
Compare
Choose a tag to compare

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)

v0.151.0

15 Oct 02:00
2794a3b
Compare
Choose a tag to compare

Rolled to Playwright 1.5.1

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