v1.11.0
Highlights
🎥 New video: Playwright: A New Test Automation Framework for the Modern Web (slides)
- We talked about Playwright
- Showed engineering work behind the scenes
- Did live demos with new features ✨
- Special thanks to applitools for hosting the event and inviting us!
⚙️ Chrome DevTools Protocol support with BrowserType.connectOverCDP()
.
Browser Versions
- Chromium 92.0.4498.0
- Mozilla Firefox 89.0b6
- WebKit 14.2
This version of Playwright was also tested against the following stable channels:
- Google Chrome 90
- Microsoft Edge 90
New APIs
- new emulation devices: Galaxy S8, Galaxy S9+, Galaxy Tab S4, Pixel 3, Pixel 4
- new methods:
BrowserType.connectOverCDP()
to connect using Chrome DevTools protocolBrowserType.connect()
to connect to a Playwright serverPage.waitForURL()
to ensure navigations to URLVideo.delete()
andVideo.saveAs()
to manage screen recording
- new options:
screen
option in theBrowser.newContext()
method to emulatewindow.screen
dimensionsposition
option inPage.check()
andPage.uncheck()
methodstrial
option to dry-run actions inPage.check()
,Page.uncheck()
,Page.click()
,Page.dblclick()
,Page.hover()
andPage.tap()
headers
option inBrowserType.connect()