Download Latest Version v1.54.0 source code.tar.gz (2.2 MB)
Email in envelope

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

Home / v1.54.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-21 1.3 kB
v1.54.0 source code.tar.gz 2025-07-21 2.2 MB
v1.54.0 source code.zip 2025-07-21 2.6 MB
Totals: 3 Items   4.8 MB 4

Highlights

  • New cookie property partitionKey in browserContext.cookies() and browserContext.addCookies(). This property allows to save and restore partitioned cookies. See CHIPS MDN article for more information. Note that browsers have different support and defaults for cookie partitioning.
  • New option --user-data-dir in multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.

bash mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="codegen --user-data-dir=./user-data"

  • mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args=open command does not open the test recorder anymore. Use mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args=codegen instead.

Browser Versions

  • Chromium 139.0.7258.5
  • Mozilla Firefox 140.0.2
  • WebKit 26.0

This version was also tested against the following stable channels: - Google Chrome 140 - Microsoft Edge 140

Source: README.md, updated 2025-07-21