What's Changed
- Refactor using the new stdlib and generics, and add several tests by @canstand in #404
- Roll to Playwright v1.41.1 by @canstand in #407
- New method
Page.UnrouteAll()
removes all routes registered byPage.Route()
andPage.RouteFromHAR()
. Optionally allows to wait for ongoing routes to finish, or ignore any errors from them. - New method
BrowserContext.UnrouteAll()
removes all routes registered byBrowserContext.Route()
andBrowserContext.RouteFromHAR()
. Optionally allows to wait for ongoing routes to finish, or ignore any errors from them. - New option style in
Page.Screenshot()
andLocator.Screenshot()
to add custom CSS to the page before taking a screenshot.
- New method
- chore: use golangci-lint and gofumpt by @canstand in #408
Full Changelog: v0.4001.0...v0.4101.0