v1.18.0
Locator Improvements
Locator.DragToAsync
- Each locator can now be optionally filtered by the text it contains:
Read more in locator documentation
await Page.Locator("li", new () { HasTextString = "My Item" }) .Locator("button").click();
New APIs & changes
BrowserType.ConnectOverCDPAsync
connect to a Chromium browser via Chromium DevTools Protocol (CDP)BrowserType.ConnectAsync
connect to a Playwright server instanceAcceptDownloads
option now defaults totrue
.Sources
option to embed sources into traces.
Browser Versions
- Chromium 99.0.4812.0
- Mozilla Firefox 95.0
- WebKit 15.4
This version was also tested against the following stable channels:
- Google Chrome 97
- Microsoft Edge 97