Highlights
-
New cookie property
partition_key
in BrowserContext.cookies() and browserContext.add_cookies(). 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.playwright codegen --user-data-dir=./user-data
-
playwright open
does not open the test recorder anymore. Useplaywright 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