| Name | Modified | Size | Downloads / 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
scrolloption ("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.clipboardno 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