Releases: playwright-community/playwright-go
Releases · playwright-community/playwright-go
v0.4201.1
What's Changed
- refactor(test): helper_test.go as a useful example by @canstand in #410
- feat: RunOptions can specifying output/error streams (close #226) by @canstand in #426
- docs: add Dockerfile example by @canstand in #424
- refac(test): cleanup and add
AssertToBeGolden
for visual comparison by @canstand in #429 - fix: correctly handle failed navigation by @canstand in #428
Full Changelog: v0.4201.0...v0.4201.1
v0.4201.0
What's Changed
New method page.AddLocatorHandler() registers a callback that will be invoked when specified element becomes visible and may block Playwright actions. The callback can get rid of the overlay.
Announcements
⚠️ Ubuntu 18 is not supported anymore (by upstream).
Full Changelog: v0.4102.0...v0.4201.0
v0.4102.0
v0.4101.1
What's Changed
- fix: Evaluate args not serialized correctly by @canstand and @reginaldl in #412
Full Changelog: v0.4101.0...v0.4101.1
v0.4101.0
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
v0.4001.0
What's Changed
- chore: roll to Playwright v1.40.1 by @canstand in #394
SetInputFiles
now supports both file paths and InputFile objects, files can be one of: string, []string, InputFile, []InputFile
- refactor(transport): handle transport error, no more log.Fatal by @canstand in #395
BREAKING CHANGE
ErrPlaywright
wraps all Playwright errorsErrTimeout
wraps all timeout errors and replacesTimeoutError
Full Changelog: v0.3900.1...v0.4000.0
v0.3900.1
v0.3900.0
v0.3800.1
What's Changed
- fix: panic when screenshot with locator mask by @canstand in #380
- feat: hide process window under Windows by @hongcha98 in #377
New Contributors
- @hongcha98 made their first contribution in #377
Full Changelog: v0.3800.0...v0.3800.1