Skip to content

Releases: playwright-community/playwright-go

v0.4201.1

21 Mar 13:20
29bd861
Compare
Choose a tag to compare

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

04 Mar 05:08
24eab96
Compare
Choose a tag to compare

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

29 Feb 07:10
664e25d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4101.1...v0.4102.0

v0.4101.1

29 Jan 11:59
98ab5a8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4101.0...v0.4101.1

v0.4101.0

24 Jan 13:30
0d5814a
Compare
Choose a tag to compare

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 by Page.Route() and Page.RouteFromHAR(). Optionally allows to wait for ongoing routes to finish, or ignore any errors from them.
    • New method BrowserContext.UnrouteAll() removes all routes registered by BrowserContext.Route() and BrowserContext.RouteFromHAR(). Optionally allows to wait for ongoing routes to finish, or ignore any errors from them.
    • New option style in Page.Screenshot() and Locator.Screenshot() to add custom CSS to the page before taking a screenshot.
  • chore: use golangci-lint and gofumpt by @canstand in #408

Full Changelog: v0.4001.0...v0.4101.0

v0.4001.0

19 Dec 03:00
968ab19
Compare
Choose a tag to compare

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 errors
  • ErrTimeout wraps all timeout errors and replaces TimeoutError

Full Changelog: v0.3900.1...v0.4000.0

v0.3900.1

04 Nov 01:33
ddc7abd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3900.0...v0.3900.1

v0.3900.0

31 Oct 03:33
43f81b3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3800.1...v0.3900.0

v0.3800.1

26 Oct 10:19
4e8d389
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3800.0...v0.3800.1

v0.3800.0

12 Oct 04:22
c3d215b
Compare
Choose a tag to compare

What's Changed

  • Roll to Playwright v1.38.1 by @canstand in #373
  • Add PlaywrightDriver.Uninstall for users who cannot use cli params

Full Changelog: v0.3700.0...v0.3800.0