Skip to content

Releases: microsoft/playwright-python

v1.13.1

29 Jul 18:14
af88b53
Compare
Choose a tag to compare

Highlights

This patch includes bug fixes for the following issues:

#823 - [Bug]: Warning of Future exception was never retrieved when expect_* gets used and throws inside the context manager
#820 - [Bug]: wait_for_load_state("networkidle") was not working
#812 - [Bug]: added hooks for pyinstaller

Browser Versions

  • Chromium 93.0.4576.0
  • Mozilla Firefox 90.0
  • WebKit 14.2

v1.13.0

21 Jul 17:37
5ffa2ef
Compare
Choose a tag to compare

Playwright

Tools

  • Playwright Trace Viewer now shows parameters, returned values and console.log() calls.
  • Playwright Inspector can generate Playwright Test tests.

New and Overhauled Guides

Browser Versions

  • Chromium 93.0.4576.0
  • Mozilla Firefox 90.0
  • WebKit 14.2

New Playwright APIs

v1.12.1

11 Jun 22:57
7b5dc9d
Compare
Choose a tag to compare

Highlights

This patch release includes bugfixes for the following issues:

microsoft/playwright#7015 - [BUG] Firefox: strange undefined toJSON property on JS objects
microsoft/playwright#7048 - [BUG] Dialogs cannot be dismissed if tracing is on in Chromium or Webkit
microsoft/playwright#7058 - [BUG] Getting no video frame error for mobile chrome

Browser Versions

  • Chromium 93.0.4530.0
  • Mozilla Firefox 89.0
  • WebKit 14.2

This version of Playwright was also tested against the following stable channels:

  • Google Chrome 91
  • Microsoft Edge 91

v1.12.0

09 Jun 01:02
7b920ea
Compare
Choose a tag to compare

🧟‍♂️ Introducing Playwright Trace & TraceViewer

Playwright Trace Viewer is a new GUI tool that helps exploring recorded Playwright traces after the script ran. Playwright traces let you examine:

  • page DOM before and after each Playwright action
  • page rendering before and after each Playwright action
  • browse network during script execution

Traces are recorded using the new browser_context.tracing API:

browser = chromium.launch()
context = browser.new_context()

# Start tracing before creating / navigating a page.
context.tracing.start(screenshots=True, snapshots=True)

page.goto("https://playwright.dev")

# Stop tracing and export it into a zip archive.
context.tracing.stop(path = "trace.zip")

Traces are examined later with the Playwright CLI:

playwright show-trace trace.zip

That will open the following GUI:

image

👉 Read more in trace viewer documentation.


Browser Versions

  • Chromium 93.0.4530.0
  • Mozilla Firefox 89.0
  • WebKit 14.2

This version of Playwright was also tested against the following stable channels:

  • Google Chrome 91
  • Microsoft Edge 91

New APIs

v1.11.2

20 May 21:03
75678bc
Compare
Choose a tag to compare

Highlights

This patch includes bug fixes across all languages for the following issues:

Browser Versions

  • Chromium 92.0.4498.0
  • Mozilla Firefox 89.0b6
  • WebKit 14.2

This version of Playwright was also tested against the following stable channels:

  • Google Chrome 90
  • Microsoft Edge 90

v1.11.1

13 May 17:20
Compare
Choose a tag to compare

Highlights

🐧 Deploy v1.11 on PIP for Ubuntu users
🐍 Release Playwright-Python on Anaconda: https://anaconda.org/Microsoft/playwright

Browser Versions

  • Chromium 92.0.4498.0
  • Mozilla Firefox 89.0b6
  • WebKit 14.2

This version of Playwright was also tested against the following stable channels:

  • Google Chrome 90
  • Microsoft Edge 90

v1.11.0

10 May 23:22
670edff
Compare
Choose a tag to compare

Highlights

🎥 New video: Playwright: A New Test Automation Framework for the Modern Web (slides)

  • We talked about Playwright
  • Showed engineering work behind the scenes
  • Did live demos with new features ✨
  • Special thanks to applitools for hosting the event and inviting us!

⚙️ Chrome DevTools Protocol support with browser_type.connect_over_cdp().

Browser Versions

  • Chromium 92.0.4498.0
  • Mozilla Firefox 89.0b6
  • WebKit 14.2

This version of Playwright was also tested against the following stable channels:

  • Google Chrome 90
  • Microsoft Edge 90

New APIs

v1.10.0

24 Mar 21:32
1a4bdf7
Compare
Choose a tag to compare

Highlights

  • Run Playwright against Google Chrome and Microsoft Edge stable channels with the new channels API.
  • Chromium screenshots are fast on Mac & Windows.

Bundled Browser Versions

  • Chromium 90.0.4430.0
  • Mozilla Firefox 87.0b10
  • WebKit 14.2

This version of Playwright was also tested against the following stable channels:

  • Google Chrome 89
  • Microsoft Edge 89

New APIs

v1.9.2

10 Mar 21:11
f01e0b3
Compare
Choose a tag to compare

Highlights

Text selector and click() fixes.

Browser Versions

  • Chromium 90.0.4421.0
  • Mozilla Firefox 86.0b10
  • WebKit 14.1
Issues Closed (4)

#538 - page.on("request", f=func) fails if func is a class method
#534 - Either path or source parameter must be specified

microsoft/playwright#5634 - [REGRESSION]: Test selector changed behavior
microsoft/playwright#5674 - [REGRESSION]: Label is not visible anymore

v1.9.1

26 Feb 00:47
Compare
Choose a tag to compare

Highlights

Text selector fixes.

Browser Versions

  • Chromium 90.0.4421.0
  • Mozilla Firefox 86.0b10
  • WebKit 14.1