v1.37.0
New APIs
-
New methods
BrowserContext.newCDPSession()
andBrowser.newBrowserCDPSession()
create a Chrome DevTools Protocol session for the page and browser respectively.CDPSession cdpSession = page.context().newCDPSession(page); cdpSession.send("Runtime.enable"); JsonObject params = new JsonObject(); params.addProperty("expression", "window.foo = 'bar'"); cdpSession.send("Runtime.evaluate", params); Object foo = page.evaluate("window['foo']"); assertEquals("bar", foo);
📚 Debian 12 Bookworm Support
Playwright now supports Debian 12 Bookworm on both x86_64 and arm64 for Chromium, Firefox and WebKit.
Let us know if you encounter any issues!
Linux support looks like this:
Ubuntu 20.04 | Ubuntu 22.04 | Debian 11 | Debian 12 | |
---|---|---|---|---|
Chromium | ✅ | ✅ | ✅ | ✅ |
WebKit | ✅ | ✅ | ✅ | ✅ |
Firefox | ✅ | ✅ | ✅ | ✅ |
Browser Versions
- Chromium 116.0.5845.82
- Mozilla Firefox 115.0
- WebKit 17.0
This version was also tested against the following stable channels:
- Google Chrome 115
- Microsoft Edge 115