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 browser_type.connect_over_cdp().
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:
browser_type.connect_over_cdp()to connect using Chrome DevTools protocolbrowser_type.connect()to connect to a Playwright serverpage.wait_for_url()to ensure navigations to URLvideo.delete()andvideo.save_as()to manage screen recording
- new options:
screenoption in thebrowser.new_context()method to emulatewindow.screendimensionspositionoption inpage.check()andpage.uncheck()methodstrialoption to dry-run actions inpage.check(),page.uncheck(),page.click(),page.dblclick(),page.hover()andpage.tap()headersoption inbrowser_type.connect()