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

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

Home / v1.62.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-08-03 1.5 kB
v1.62.0 source code.tar.gz 2026-08-03 2.3 MB
v1.62.0 source code.zip 2026-08-03 2.7 MB
Totals: 3 Items   4.9 MB 2

🖼️ 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:

:::java
page.screenshot(new Page.ScreenshotOptions()
    .setPath(Paths.get("homepage.webp"))
    .setQuality(50));

New APIs

  • New scroll option ("auto" | "none") on actions to opt out of Playwright's automatic scrolling into view.
  • New locator.waitForFunction() (playwright.dev) 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-08-03