Download Latest Version v1.62.0 source code.zip (1.7 MB)
Email in envelope

Get an email when there's a new version of Playwright for Python

Home / v1.62.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md < 23 hours ago 1.5 kB
v1.62.0 source code.tar.gz < 23 hours ago 1.4 MB
v1.62.0 source code.zip < 23 hours ago 1.7 MB
Totals: 3 Items   3.1 MB 0

🖼️ WebP screenshots

page.screenshot() (playwright.dev) and locator.screenshot() (playwright.dev) can now capture screenshots in the WebP format. Playwright infers the format from a .webp file extension, or you can set the type explicitly. Quality 100 (the default) is lossless, while lower values use lossy compression:

:::python
page.screenshot(path="homepage.webp", quality=50)

New APIs

  • New scroll option ("auto" | "none") on actions to opt out of Playwright's automatic scrolling into view.
  • New locator.wait_for_function() waits until a function called with the matching element returns a truthy value.
  • New apiResponse.timing() (playwright.dev) returns resource timing information for an API response.

Announcements

  • đź“‹ The clipboard is now isolated from the operating system in headless mode, so tests that use navigator.clipboard no longer read or overwrite the clipboard of the machine running them.
  • ⚠️ Debian 11 is not supported anymore.

Browser Versions

  • Chromium 151.0.7922.34
  • Mozilla Firefox 153.0
  • WebKit 26.5

This version was also tested against the following stable channels:

  • Google Chrome 151
  • Microsoft Edge 151
Source: README.md, updated 2026-07-31